]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: make sure that all interface addresses are advertised
authorChristian Franke <nobody@nowhere.ws>
Sun, 3 Apr 2016 15:46:27 +0000 (12:46 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 6 Apr 2016 12:06:53 +0000 (08:06 -0400)
commit233d97e903493fa0393a935a75cc895e8dbbdb69
treedd10ef30909a0b5c20f11900717063dc1f3e1f4a
parentba75ed2cf857d0d0ce818ea9b825708087b0a699
isisd: make sure that all interface addresses are advertised

If the following configuration commands are run interactively in
succession, the ipv6 addresses of this interface won't be advertised
in the router's LSP immediately:

   # interface eth0
   # ip router isis test
   # ipv6 router isis test

This is because the ipv6 router command won't trigger a state change
for the interface and therefore, it won't trigger a regeneration of
the LSPs.

The same thing happens if IPv4 is enabled after IPv6, or for the cases
where IPv4 is disabled and IPv6 stays enabled or vice-versa.

Fix this by explicitly calling lsp_regenerate_schedule for the cases
where it won't be called implicitly.

Signed-off-by: Christian Franke <nobody@nowhere.ws>
isisd/isis_circuit.c