]> git.proxmox.com Git - mirror_frr.git/blobdiff - isisd/isis_pdu.c
isisd: implement the 'lsp-too-large' notification
[mirror_frr.git] / isisd / isis_pdu.c
index 6303536c1111f12b997f1f7738fa1e8cea20e76f..2347a154754f72022c14887e92f90c8d28edf091 100644 (file)
@@ -2238,6 +2238,11 @@ void send_lsp(struct isis_circuit *circuit, struct isis_lsp *lsp,
                        lsp->hdr.checksum, lsp->hdr.rem_lifetime,
                        circuit->interface->name, stream_get_endp(lsp->pdu),
                        stream_get_size(circuit->snd_stream));
+#ifndef FABRICD
+               /* send a northbound notification */
+               isis_notif_lsp_too_large(circuit, stream_get_endp(lsp->pdu),
+                                        rawlspid_print(lsp->hdr.lsp_id));
+#endif /* ifndef FABRICD */
                if (isis->debugs & DEBUG_PACKET_DUMP)
                        zlog_dump_data(STREAM_DATA(lsp->pdu),
                                       stream_get_endp(lsp->pdu));