From fdb19982020abeddf2d9eb73efae92ae2cc58d93 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sun, 3 Sep 2000 22:18:40 +0000 Subject: Serious bug in ext lsa origination found. Going for 1.0.4. --- proto/ospf/lsalib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'proto/ospf/lsalib.c') 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); -- cgit v1.2.3