From fd6f39a514093973bb0fb39484a0ed9615534c89 Mon Sep 17 00:00:00 2001 From: Lu Feng Date: Wed, 19 Feb 2014 09:05:05 +0000 Subject: [PATCH] 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 Signed-off-by: David Lamparter --- isisd/isis_tlv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/isisd/isis_tlv.c b/isisd/isis_tlv.c index 2c2415ae02..bbfa5d812a 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; } -- 2.39.5