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/ospf.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'proto/ospf/ospf.h') diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index dd63c4c..d5ff8e9 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -209,8 +209,20 @@ struct ospf_lsa_header { u16 length; }; +struct vebb { + u8 b:1; + u8 e:1; + u8 v:1; + u8 padding:5; +}; + +union veb { + u8 byte; + struct vebb bit; +}; + struct ospf_lsa_rt { - u8 VEB; + union veb veb; #define LSA_RT_V 5 #define LSA_RT_E 6 #define LSA_RT_B 7 @@ -375,7 +387,8 @@ struct proto_ospf { list area_list; int areano; /* Number of area I belong to */ struct fib efib; /* FIB for external routes */ - int rfc1583; + int rfc1583; /* RFC1583 compatibility */ + int ebit; /* Did I originate any ext lsa? */ }; struct ospf_iface_patt { -- cgit v1.2.3