From 2097cd8a7a1322b2853f1b9cbbe7f39c436f553e Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 23 Dec 2003 11:51:08 +0000 Subject: Some fixes to isisd done by me and Cougar in the spring of 2003. See changelog for details. --- isisd/isis_tlv.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'isisd/isis_tlv.c') 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; -- cgit v1.2.1