]> git.puffer.fish Git - mirror/frr.git/commit
isisd: fix isis_circuit_create()
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 11 Aug 2016 14:59:08 +0000 (16:59 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Tue, 16 Aug 2016 14:05:42 +0000 (16:05 +0200)
commit9af6011992d8012ca146343be49a8e3df4da3885
tree2c6cc844ec942a3b79d93180ed7f21617c264b83
parentd8efb772eb7adb2513a779a8bf247861c56f8eef
isisd: fix isis_circuit_create()

Between the awkwardly managed CSM and the tacked-on IPv6 support, the
simplified logic to setup a circuit wasn't quite right.

Note that the API essentially allows creating a circuit without enabling
either IPv4 or IPv6.  This wasn't possible before and probably breaks
isisd in 'interesting' ways.  The CLI won't do this, so it's only an
issue when adding on other configuration mechanisms.

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