diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-11-14 16:27:51 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-12-18 15:24:46 +0100 |
commit | d32f213a2e0a1183a11d1986a3fb01fa5c912612 (patch) | |
tree | 35a8ff2c547e4356009e02f6fb0e27d355528e9b /isisd/isis_pdu.c | |
parent | isisd: implemented the 'sequence-number-skipped' notification (diff) | |
download | frr-d32f213a2e0a1183a11d1986a3fb01fa5c912612.tar.xz frr-d32f213a2e0a1183a11d1986a3fb01fa5c912612.zip |
isisd: implemented the 'own-lsp-purge' notification
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index a5ec27e47..330da9b21 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -1117,6 +1117,13 @@ dontcheckadj: circuit->area->area_tag, rawlspid_print(hdr.lsp_id), lsp->hdr.seqno); + } else { + /* our own LSP with 0 remaining life time */ +#ifndef FABRICD + /* send northbound notification */ + isis_notif_own_lsp_purge( + circuit, rawlspid_print(hdr.lsp_id)); +#endif /* ifndef FABRICD */ } } goto out; |