]> git.puffer.fish Git - mirror/frr.git/commit
tools: Fix reload with 'ipv6 address...' in interface 6637/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 24 Jun 2020 18:30:49 +0000 (14:30 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 24 Jun 2020 18:30:49 +0000 (14:30 -0400)
commite238920df07be0b61e483f0a58e0b99ab3d2e0ea
treea75fc04c57b8ecf69b25c6470408a5c0bcab82fb
parent8576ceef013a751bad8a4a1dad94605901cc5d5f
tools: Fix reload with 'ipv6 address...' in interface

When you have this configuration:

int foo
  ipv6 address fd01:0:0:1::1/64

And issue a reload statement, FRR-reload
is reducing the code to a
`no ipv6 address fd01:0:0:1::/64`
and then issuing a:
`ipv6 address fd01:0:0:1::/64`

The end result is of course that the foo
interface now has two v6 addresses on it.

The brilliance of this is of course if you
happen to have two systems that are connected
over an interface, and you issue a reload command.
They both get fd01:0:0:1::/64 as an ipv6 address
and DAD detection kicks in and stomps on your stuff.

Put a special hey don't munch the v6 address line
in a reload situation.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tools/frr-reload.py