diff options
author | Christian Franke <chris@opensourcerouting.org> | 2018-05-31 15:14:26 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2018-09-05 11:38:13 +0200 |
commit | 2c92bee49943b5703e183387ac0dd636a9c0e4c4 (patch) | |
tree | a6bb53b7ab93caae0b7713f1cdae0ed7681860da /isisd/isis_pdu.c | |
parent | isisd: add TLV 13 Purge Originator Identification (diff) | |
download | frr-2c92bee49943b5703e183387ac0dd636a9c0e4c4.tar.xz frr-2c92bee49943b5703e183387ac0dd636a9c0e4c4.zip |
isisd: add purge originator identification support
Implement RFC 6232, optionally allowing to flood isisd's NET and
hostname in purges it originates.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index ce050a0c9..8649c5a0c 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -900,7 +900,8 @@ dontcheckadj: * but * wrong checksum, initiate a purge. */ if (lsp && (lsp->hdr.seqno == hdr.seqno) - && (lsp->hdr.checksum != hdr.checksum)) { + && (lsp->hdr.checksum != hdr.checksum) + && hdr.rem_lifetime) { zlog_warn("ISIS-Upd (%s): LSP %s seq 0x%08" PRIx32 " with confused checksum received.", circuit->area->area_tag, rawlspid_print(hdr.lsp_id), |