diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-09-13 19:53:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-13 19:53:47 -0400 |
| commit | 9ffb74fb2ff67bf184c5e6a628bf263479084a10 (patch) | |
| tree | cbaae5edce2e9115794603f227cc31207a06fcb4 | |
| parent | 367d7ed583addf57cb96540f97133b27c8b0620c (diff) | |
| parent | ebe88a053dac1c1d3ca75509f73500eb8a37aa84 (diff) | |
Merge pull request #16819 from FRRouting/mergify/bp/stable/10.1/pr-16808
nhrpd: fixes duplicate auth extension (backport #16808)
| -rw-r--r-- | nhrpd/nhrp_peer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c index 6e7857c777..1e149a1674 100644 --- a/nhrpd/nhrp_peer.c +++ b/nhrpd/nhrp_peer.c @@ -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; |
