[PATCH] Update IPv6 neighbour authentication state from Hello pkgs
Joakim Tjernlund
joakim.tjernlund at infinera.com
Tue Mar 16 09:31:51 CET 2021
Signed-off-by: Joakim Tjernlund <joakim.tjernlund at infinera.com>
---
proto/ospf/hello.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index d094f934..51f685e5 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -341,6 +341,8 @@ ospf_receive_hello(struct ospf_packet *pkt, struct ospf_iface *ifa,
n->bdr = rcv_bdr;
n->priority = rcv_priority;
n->iface_id = rcv_iface_id;
+ if (ospf_is_v3(p))
+ n->options = (n->options & ~OPT_AT) | (rcv_options & OPT_AT);
/* Update inactivity timer */
ospf_neigh_sm(n, INM_HELLOREC);
--
2.26.2
More information about the Bird-users
mailing list