]> git.puffer.fish Git - mirror/frr.git/commit
isisd: drop hellos without supported protocol list
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 27 Nov 2012 01:10:26 +0000 (01:10 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 12 Dec 2012 14:38:07 +0000 (15:38 +0100)
commitb72f345d2e078d4cd0559234d051214f58eef542
treec41a98533af78d54c5e5cca0151848b86c9d5139
parent19f78cebd2ce50f0d1f367cd759cdcfb1a500f59
isisd: drop hellos without supported protocol list

isisd should not form adjacencies on receiving an IS-IS Hello without a
list of supported protocols (cf. RFC 1195 s4.4 p32 "Maintaining Router
Adjacencies")  Also fixes memleaks in these error cases.

* isisd/isis_pdu.c: improve TLVFLAG_NLPID handling

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Tested-by: Martin Winter <mwinter@opensourcerouting.org>
isisd/isis_pdu.c