diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-31 23:00:26 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-31 23:00:26 +0200 |
commit | 7f03a6f6d2334a33a5d94a612941e5ceb5832fc7 (patch) | |
tree | 07c6f6f9d76821aa13bbe9fc0f2a4e7cd58a17b1 /nhrpd/nhrp_peer.c | |
parent | pimd: Cleanup termination to avoid possible null ptr deref (diff) | |
download | frr-7f03a6f6d2334a33a5d94a612941e5ceb5832fc7.tar.xz frr-7f03a6f6d2334a33a5d94a612941e5ceb5832fc7.zip |
nhrpd: Fix value set but never used.
The nbma_addr value is set but never used.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'nhrpd/nhrp_peer.c')
-rw-r--r-- | nhrpd/nhrp_peer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c index 73b6aaccf..4c1d97a48 100644 --- a/nhrpd/nhrp_peer.c +++ b/nhrpd/nhrp_peer.c @@ -425,7 +425,6 @@ static void nhrp_handle_registration_request(struct nhrp_packet_parser *p) nbma_natoa = NULL; if (natted) { nbma_natoa = nbma_addr; - nbma_addr = &p->peer->vc->remote.nbma; } holdtime = htons(cie->holding_time); |