diff options
author | Ondrej Filip <feela@network.cz> | 2000-09-04 00:18:40 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-09-04 00:18:40 +0200 |
commit | fdb19982020abeddf2d9eb73efae92ae2cc58d93 (patch) | |
tree | 4c837c9252bb1d3324c0a4005cd600d3081c7810 /proto/ospf/lsalib.c | |
parent | f02e4258b9bb7f823ddfbfb88284c868502b1433 (diff) | |
download | bird-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.c | 4 |
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); |