summaryrefslogtreecommitdiffstats
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-12-14 07:31:39 +0100
committerMobashshera Rasool <mrasool@vmware.com>2022-01-11 06:10:29 +0100
commit12e76340181e41872d56e1f45f502bb04584e886 (patch)
treeec6c03c8d550b907926dcc7688d2a248bb40742c /pimd/pim_pim.c
parentpimd: Modify in_addr to pim_addr in pim_assert_metric (diff)
downloadfrr-12e76340181e41872d56e1f45f502bb04584e886.tar.xz
frr-12e76340181e41872d56e1f45f502bb04584e886.zip
pimd: Modifying in_addr to pim_addr in struct pim_interface for IPv6
Based on compiler option, pim_addr will be changed to in_addr or in6_addr for pimd and pim6d respectively. Reviewed-by: Sarita Patra <saritap@vmware.com> Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index 351b906d2..2142d9010 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -570,8 +570,8 @@ static int pim_msg_send_frame(int fd, char *buf, size_t len,
return 0;
}
-int pim_msg_send(int fd, struct in_addr src, struct in_addr dst,
- uint8_t *pim_msg, int pim_msg_size, const char *ifname)
+int pim_msg_send(int fd, pim_addr src, struct in_addr dst, uint8_t *pim_msg,
+ int pim_msg_size, const char *ifname)
{
struct sockaddr_in to;
socklen_t tolen;