summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_peer.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-31 23:00:26 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-31 23:00:26 +0200
commit7f03a6f6d2334a33a5d94a612941e5ceb5832fc7 (patch)
tree07c6f6f9d76821aa13bbe9fc0f2a4e7cd58a17b1 /nhrpd/nhrp_peer.c
parentpimd: Cleanup termination to avoid possible null ptr deref (diff)
downloadfrr-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.c1
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);