summaryrefslogtreecommitdiff
path: root/isisd/isis_tlv.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-12-23 11:51:08 +0000
committerhasso <hasso>2003-12-23 11:51:08 +0000
commit2097cd8a7a1322b2853f1b9cbbe7f39c436f553e (patch)
treeab849230440ac6429f6d2caea41d36cb893f0c8d /isisd/isis_tlv.c
parent5a514b14c706d671a041862c072af08a2baab98e (diff)
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.c7
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;