diff options
author | Ondrej Filip <feela@network.cz> | 2000-09-03 22:18:40 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-09-03 22:18:40 +0000 |
commit | fdb19982020abeddf2d9eb73efae92ae2cc58d93 (patch) | |
tree | 4c837c9252bb1d3324c0a4005cd600d3081c7810 /proto/ospf/lsalib.c | |
parent | f02e4258b9bb7f823ddfbfb88284c868502b1433 (diff) |
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 16e1a80a..27e27822 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); |