Skip to content

Commit

Permalink
Merge pull request #18112 from FRRouting/mergify/bp/dev/10.3/pr-18078
Browse files Browse the repository at this point in the history
nhrpd: fix dont consider incomplete L2 entry (backport #18078)
  • Loading branch information
donaldsharp authored Feb 12, 2025
2 parents 60dbf7e + ffcaa8e commit 57c1528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nhrpd/netlink_arp.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ int nhrp_neighbor_operation(ZAPI_CALLBACK_ARGS)
: (cmd == ZEBRA_NEIGH_ADDED) ? "new-neigh"
: "del-neigh",
&addr, ifp->name, &lladdr, ndm_state, c->used, c->cur.type);
if (cmd == ZEBRA_NEIGH_GET) {
if (cmd == ZEBRA_NEIGH_GET && ndm_state != ZEBRA_NEIGH_STATE_INCOMPLETE) {
if (c->cur.type >= NHRP_CACHE_CACHED) {
nhrp_cache_set_used(c, 1);
debugf(NHRP_DEBUG_KERNEL,
Expand Down

0 comments on commit 57c1528

Please sign in to comment.