summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Feng <lu.feng@6wind.com>2014-02-19 09:05:05 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2014-06-03 15:48:14 +0200
commitfd6f39a514093973bb0fb39484a0ed9615534c89 (patch)
treea5365a15610b6d02ad8e761013b65e26637c1700
parent404fd2974fb53340be6d570b86f2f6f4c0a100c6 (diff)
downloadquagga-fd6f39a514093973bb0fb39484a0ed9615534c89.tar.bz2
quagga-fd6f39a514093973bb0fb39484a0ed9615534c89.tar.xz
isisd: ignore the unrecognized TLVs
When processing LSPDUs, the unrecognized TLVs/sub-TLVs should be silently ignored. In parse_tlvs(), ISIS_WARNING is returned once an unrecognized TLV exists. It breaks the processing in lsp_authentication_check() and lsp_update_data(). So remove it. Signed-off-by: Feng Lu <lu.feng@6wind.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--isisd/isis_tlv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/isisd/isis_tlv.c b/isisd/isis_tlv.c
index 2c2415ae..bbfa5d81 100644
--- a/isisd/isis_tlv.c
+++ b/isisd/isis_tlv.c
@@ -742,7 +742,6 @@ parse_tlvs (char *areatag, u_char * stream, int size, u_int32_t * expected,
zlog_warn ("ISIS-TLV (%s): unsupported TLV type %d, length %d",
areatag, type, length);
- retval = ISIS_WARNING;
pnt += length;
break;
}