]> 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)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 19 Aug 2016 17:33:08 +0000 (13:33 -0400)
commit139c1f36d45f7ab34ea3d1f343b63ac3487b3415
treef515cb4f4676a21fd9f2975b1073d8017eba5b27
parente5d1e72daaf5775e4bf67d812553d4fd8775791a
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