]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix loopback/ptp/ptmp conn. route checks
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 25 Apr 2024 10:16:35 +0000 (12:16 +0200)
committerton31337 <3352707+ton31337@users.noreply.github.com>
Sat, 4 May 2024 14:07:55 +0000 (14:07 +0000)
commita5c72eac139158904a62fb042682b24080fd8a4a
tree35f224b2b1de9fcebcd8f9b5dfb2f32ba0c3e93b
parentb12af0d5cd0215ff2a952e4c774ebdaf2fcad556
ospf6d: fix loopback/ptp/ptmp conn. route checks

The code emitting connected routes was checking against the interface
state (which can also be lo/ptp/ptmp) rather than the interface type.
This was causing wrong IA prefixes for connected routes getting put up
out if the interface was down intermittently.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 4aa200c7c55c84033a804d7c37847790c936e256)
ospf6d/ospf6_interface.c