ip: only install IPv6 prefixes in FIB when the interface is up 97/22597/5
authorNeale Ranns <nranns@cisco.com>
Tue, 8 Oct 2019 05:40:54 +0000 (22:40 -0700)
committerDamjan Marion <dmarion@me.com>
Wed, 9 Oct 2019 06:45:49 +0000 (06:45 +0000)
commit1ff3c15b3c7607c9b590ad44d18dea5eb1cb8c4e
treeda0dbbdb15594fd4c2e31970e0623d216bb00828
parentda0e7497ca972f3219352d884b5c51e455503dbb
ip: only install IPv6 prefixes in FIB when the interface is up

otherwise they get installed twice and the reference counting means they are not removed.
This is the same behaviour as IPv4.

Type: fix

Change-Id: I9266e04ccff6ff06a577e85973a2ddbeb9dfc52b
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ip/ip6_forward.c