[PATCH] Update IPv6 neighbour authentication state from Hello pkgs
16 Mar
2021
16 Mar
'21
8:31 a.m.
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@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
1916
Age (days ago)
1916
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joakim Tjernlund