]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: ignore the unrecognized TLVs
authorLu Feng <lu.feng@6wind.com>
Wed, 19 Feb 2014 09:05:05 +0000 (09:05 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 3 Jun 2014 13:48:14 +0000 (15:48 +0200)
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>
isisd/isis_tlv.c

index 2c2415ae022d3bfc108f3c368be3e426c6bf0fae..bbfa5d812a55200c1fcfec9e881da0ed5d31ae4e 100644 (file)
@@ -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;
        }