summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-08-22 09:10:05 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:07 -0500
commit4df01a4e66fec6472d9d0b89d199654eb5c6e8bd (patch)
treee4ab1aed1542bbbf4c480de85c3ada97b82e24f0 /pimd/pim_pim.h
parent7747bad6ac449903b4ff95bb495c08010084f862 (diff)
pimd: Fix pim to use correct src address for packets
When sending register packets to the RP from the FHR we should be using the ip address of the incoming interface that received the mcast packet. Ticket: CM-12445 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_pim.h')
-rw-r--r--pimd/pim_pim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pimd/pim_pim.h b/pimd/pim_pim.h
index 01c9044a26..fad572a125 100644
--- a/pimd/pim_pim.h
+++ b/pimd/pim_pim.h
@@ -70,6 +70,7 @@ void pim_hello_restart_triggered(struct interface *ifp);
int pim_pim_packet(struct interface *ifp, uint8_t *buf, size_t len);
int pim_msg_send(int fd,
+ struct in_addr src,
struct in_addr dst,
uint8_t *pim_msg,
int pim_msg_size,