diff options
author | hasso <hasso> | 2003-12-23 11:51:08 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-12-23 11:51:08 +0000 |
commit | 059feb1c7e42ca29dede49b00c1073baf68b19b9 (patch) | |
tree | f784c66644dfb367b2c7237960f262a85cb5ad57 /isisd/isis_tlv.c | |
parent | f8a631db73dcac5fe49305ff0c420617d97e102d (diff) | |
download | quagga-059feb1c7e42ca29dede49b00c1073baf68b19b9.tar.bz2 quagga-059feb1c7e42ca29dede49b00c1073baf68b19b9.tar.xz |
Some fixes to isisd done by me and Cougar in the spring of 2003. See
changelog for details.
Diffstat (limited to 'isisd/isis_tlv.c')
-rw-r--r-- | isisd/isis_tlv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/isisd/isis_tlv.c b/isisd/isis_tlv.c index b51cee91..eb673d9f 100644 --- a/isisd/isis_tlv.c +++ b/isisd/isis_tlv.c @@ -511,16 +511,17 @@ parse_tlvs (char *areatag, u_char *stream, int size, u_int32_t *expected, * +---------------------------------------------------------------+ * : : */ - *found |= TLVFLAG_TE_IPV4_REACHABILITY; + *found |= TLVFLAG_IPV4_EXT_REACHABILITY; #ifdef EXTREME_TLV_DEBUG zlog_info ("ISIS-TLV (%s): IPv4 external Reachability length %d", areatag, length); #endif /* EXTREME_TLV_DEBUG */ - if (*expected & TLVFLAG_TE_IPV4_REACHABILITY) { + if (*expected & TLVFLAG_IPV4_EXT_REACHABILITY) { while (length > value_len) { ipv4_reach = (struct ipv4_reachability*)pnt; - if (!tlvs->ipv4_ext_reachs) tlvs->ipv4_ext_reachs = list_new(); + if (!tlvs->ipv4_ext_reachs) + tlvs->ipv4_ext_reachs = list_new(); listnode_add (tlvs->ipv4_ext_reachs, ipv4_reach); value_len += 12; pnt += 12; |