mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 14:17:20 +00:00
nhrpd: Cleanup set but unused variables
There existed some variables set but never used. Clean this up. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
6e3e2c6d5f
commit
8ba9026b95
@ -755,10 +755,9 @@ static void nhrp_peer_forward(struct nhrp_peer *p,
|
||||
if ((type == NHRP_EXTENSION_REVERSE_TRANSIT_NHS)
|
||||
== (packet_types[hdr->type].type == PACKET_REPLY)) {
|
||||
/* Check NHS list for forwarding loop */
|
||||
while ((cie = nhrp_cie_pull(&extpl, pp->hdr,
|
||||
&cie_nbma,
|
||||
&cie_protocol))
|
||||
!= NULL) {
|
||||
while (nhrp_cie_pull(&extpl, pp->hdr,
|
||||
&cie_nbma,
|
||||
&cie_protocol) != NULL) {
|
||||
if (sockunion_same(&p->vc->remote.nbma,
|
||||
&cie_nbma))
|
||||
goto err;
|
||||
|
Loading…
Reference in New Issue
Block a user