Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nhrpd: fixes duplicate auth extension
When an NHRP server was forwarding a message, it was copying all extensions from the originally received packet. The authentication extension must be regenerated hop by hop per RFC2332. The copied auth extension had an incorrect length. This fix checks for the auth extension when copying extensions and omits the original packet auth and instead regenerates a new auth extension. Fix bug #16466 Signed-off-by: Dave LeRoy <dleroy@labn.net>