diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-08-11 17:02:50 +0200 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-08-19 13:33:19 -0400 |
| commit | aa11f85082d8d0272bfd7e06742739afb4783e07 (patch) | |
| tree | 6bfefb5483d210709c8724a5f8f0fe9903dccb2a /lib/imsg-buffer.c | |
| parent | 139c1f36d45f7ab34ea3d1f343b63ac3487b3415 (diff) | |
isisd: fix isis_circuit_af_set() on fresh circuit
A newly-created circuit will be in enabled state but have neither IPv4
nor IPv6 configured. The logic in isis_circuit_af_set assumed that
"enabled" is equivalent to "ip || ipv6".
This is the only place where this distinction is currently relevant, as
the CLI won't allow enabling an interface without enabling either IPv4
or IPv6; and it will also disable a circuit when both are deconfigured.
Reported-by: Martin Winter <mwinter@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
