nhrpd: Fix value set but never used.

The nbma_addr value is set but never used.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-03-31 17:00:26 -04:00
parent 6ca7dd9045
commit 7f03a6f6d2

View File

@ -425,7 +425,6 @@ static void nhrp_handle_registration_request(struct nhrp_packet_parser *p)
nbma_natoa = NULL; nbma_natoa = NULL;
if (natted) { if (natted) {
nbma_natoa = nbma_addr; nbma_natoa = nbma_addr;
nbma_addr = &p->peer->vc->remote.nbma;
} }
holdtime = htons(cie->holding_time); holdtime = htons(cie->holding_time);