From: Lu Feng Date: Wed, 19 Feb 2014 09:05:05 +0000 (+0000) Subject: isisd: ignore the unrecognized TLVs X-Git-Tag: frr-2.0-rc1~1580 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=fd6f39a514093973bb0fb39484a0ed9615534c89;p=mirror%2Ffrr.git 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 --- 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; }