Skip to content

Commit

Permalink
Merge pull request FRRouting#16821 from FRRouting/mergify/bp/stable/9…
Browse files Browse the repository at this point in the history
….1/pr-16808

nhrpd: fixes duplicate auth extension (backport FRRouting#16808)
  • Loading branch information
Jafaral authored Sep 13, 2024
2 parents bc98e70 + 087943e commit 3c89f63
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nhrpd/nhrp_peer.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,12 @@ static void nhrp_handle_resolution_req(struct nhrp_packet_parser *pp)
nhrp_ext_complete(zb, ext);
}
break;
case NHRP_EXTENSION_AUTHENTICATION:
/* Extensions can be copied from original packet except
* authentication extension which must be regenerated
* hop by hop.
*/
break;
default:
if (nhrp_ext_reply(zb, hdr, ifp, ext, &payload) < 0)
goto err;
Expand Down

0 comments on commit 3c89f63

Please sign in to comment.