summaryrefslogtreecommitdiffstats
path: root/isisd/isis_lsp.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-03-15 02:14:27 +0100
committerGitHub <noreply@github.com>2021-03-15 02:14:27 +0100
commite1908ceb4242dffc97a4204da4ffa57a52c5512d (patch)
tree1ce6d9d02aeed10d72896a816fe028028e829c88 /isisd/isis_lsp.c
parentMerge pull request #8160 from idryzhov/fix-show-yang-oper (diff)
parenttests: Adding test for ISIS SNMP (diff)
downloadfrr-e1908ceb4242dffc97a4204da4ffa57a52c5512d.tar.xz
frr-e1908ceb4242dffc97a4204da4ffa57a52c5512d.zip
Merge pull request #7945 from volta-networks/feat_isis_snmp
isisd: add support for read-only snmp mibs objects
Diffstat (limited to 'isisd/isis_lsp.c')
-rw-r--r--isisd/isis_lsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/isisd/isis_lsp.c b/isisd/isis_lsp.c
index a17d9a6ae..06a5a69e3 100644
--- a/isisd/isis_lsp.c
+++ b/isisd/isis_lsp.c
@@ -324,8 +324,8 @@ void lsp_inc_seqno(struct isis_lsp *lsp, uint32_t seqno)
/* check for overflow */
if (newseq < lsp->hdr.seqno) {
/* send northbound notification */
- isis_notif_lsp_exceed_max(lsp->area,
- rawlspid_print(lsp->hdr.lsp_id));
+ lsp->area->lsp_exceeded_max_counter++;
+ isis_notif_lsp_exceed_max(lsp->area, lsp->hdr.lsp_id);
}
#endif /* ifndef FABRICD */
@@ -1357,8 +1357,8 @@ int lsp_generate(struct isis_area *area, int level)
#ifndef FABRICD
/* send northbound notification */
- isis_notif_lsp_gen(area, rawlspid_print(newlsp->hdr.lsp_id),
- newlsp->hdr.seqno, newlsp->last_generated);
+ isis_notif_lsp_gen(area, newlsp->hdr.lsp_id, newlsp->hdr.seqno,
+ newlsp->last_generated);
#endif /* ifndef FABRICD */
return ISIS_OK;