]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Push all configured IP addresses when the interface comes up
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 21 Dec 2023 12:25:19 +0000 (14:25 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 21 Dec 2023 14:32:14 +0000 (16:32 +0200)
commit02f8cf776940f04671e592e0abf719e75aa93a7a
treeef2e34092f76739f7adbca43328514701c1a7ef7
parentbbda45a82546bc0d841de5503e14b674db5e8c80
zebra: Push all configured IP addresses when the interface comes up

Let's say we this:

```
$ ip link set down dev r1-eth0
$ ip link set up dev r1-eth0
```

But at the same time we have this interface configured by the FRR too:

```
interface r1-eth0
 ipv6 address fe80:1::1/64
exit
```

We never re-add fe80:1::1/64, when the interface comes up, and we have a
strange situation where NHT stops working and other stuff depending on NHT
stops too (BGP peering, etc.).

Closes: https://github.com/FRRouting/frr/issues/15050
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
zebra/interface.c