summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-09-04 00:18:40 +0200
committerOndrej Filip <feela@network.cz>2000-09-04 00:18:40 +0200
commitfdb19982020abeddf2d9eb73efae92ae2cc58d93 (patch)
tree4c837c9252bb1d3324c0a4005cd600d3081c7810 /proto/ospf/lsalib.c
parentf02e4258b9bb7f823ddfbfb88284c868502b1433 (diff)
downloadbird-fdb19982020abeddf2d9eb73efae92ae2cc58d93.tar
bird-fdb19982020abeddf2d9eb73efae92ae2cc58d93.zip
Serious bug in ext lsa origination found. Going for 1.0.4.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index 16e1a80..27e2782 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -123,7 +123,7 @@ htonlsab(void *h, void *n, u8 type, u16 len)
hrt=h;
links=hrt->links;
- nrt->VEB=hrt->VEB;
+ nrt->veb.byte=hrt->veb.byte;
nrt->padding=0;
nrt->links=htons(hrt->links);
nrtl=(struct ospf_lsa_rt_link *)(nrt+1);
@@ -220,7 +220,7 @@ ntohlsab(void *n, void *h, u8 type, u16 len)
nrt=n;
hrt=h;
- hrt->VEB=nrt->VEB;
+ hrt->veb.byte=nrt->veb.byte;
hrt->padding=0;
links=hrt->links=ntohs(nrt->links);
nrtl=(struct ospf_lsa_rt_link *)(nrt+1);