diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-11-14 15:30:46 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2018-12-18 15:24:46 +0100 |
commit | 0532bd84ab4ad8065fd2b2cd7b19ff8a0fe1c186 (patch) | |
tree | dfb21bb2c9c815a3de41d1fc9cb451aedfc80fff /isisd/isis_pdu.c | |
parent | isisd: implement the 'id-len-mismatch' notification (diff) | |
download | frr-0532bd84ab4ad8065fd2b2cd7b19ff8a0fe1c186.tar.xz frr-0532bd84ab4ad8065fd2b2cd7b19ff8a0fe1c186.zip |
isisd: implement the 'version-skew' notification
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'isisd/isis_pdu.c')
-rw-r--r-- | isisd/isis_pdu.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/isisd/isis_pdu.c b/isisd/isis_pdu.c index b6586b94a..219900bba 100644 --- a/isisd/isis_pdu.c +++ b/isisd/isis_pdu.c @@ -1575,6 +1575,10 @@ int isis_handle_pdu(struct isis_circuit *circuit, uint8_t *ssnpa) if (version1 != 1) { zlog_warn("Unsupported ISIS version %" PRIu8, version1); +#ifndef FABRICD + /* send northbound notification */ + isis_notif_version_skew(circuit, version1, raw_pdu); +#endif /* ifndef FABRICD */ return ISIS_WARNING; } @@ -1614,6 +1618,10 @@ int isis_handle_pdu(struct isis_circuit *circuit, uint8_t *ssnpa) if (version2 != 1) { zlog_warn("Unsupported ISIS PDU version %" PRIu8, version2); +#ifndef FABRICD + /* send northbound notification */ + isis_notif_version_skew(circuit, version2, raw_pdu); +#endif /* ifndef FABRICD */ return ISIS_WARNING; } |