summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2021-03-15 09:45:30 -0400
committerGitHub <noreply@github.com>2021-03-15 09:45:30 -0400
commit710b3613ff6652785f48f20c3663364cc4e74d9a (patch)
treee73cd77f72763f61f0cde925da19e08c404a55e2
parentcc01c03434dbcbd532043584a9b91e60acd2afe3 (diff)
parent6f8817b4cf3bd5f5ddb1fa841c6d402ae90e0c4f (diff)
Merge pull request #8234 from reubendowle/fixes/nhrp-trafic-indication
nhrpd: Set hop count to 1 in traffic indication
-rw-r--r--nhrpd/nhrp_peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_peer.c b/nhrpd/nhrp_peer.c
index 622cb4ebb6..5e9929adeb 100644
--- a/nhrpd/nhrp_peer.c
+++ b/nhrpd/nhrp_peer.c
@@ -679,7 +679,7 @@ void nhrp_peer_send_indication(struct interface *ifp, uint16_t protocol_type,
zb = zbuf_alloc(1500);
hdr = nhrp_packet_push(zb, NHRP_PACKET_TRAFFIC_INDICATION, &nifp->nbma,
&if_ad->addr, &dst);
- hdr->hop_count = 0;
+ hdr->hop_count = 1;
/* Payload is the packet causing indication */
zbuf_copy(zb, pkt, zbuf_used(pkt));