mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 15:18:06 +00:00
pimd: remove pim_addr_copy
This is not needed, pim_addr can just be assigned as a whole. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
032a741219
commit
408ed95ed2
@ -39,11 +39,6 @@
|
||||
#define PIM_SG_LEN PREFIX_SG_STR_LEN
|
||||
#define pim_inet4_dump prefix_mcast_inet4_dump
|
||||
|
||||
static inline void pim_addr_copy(pim_addr *dest, pim_addr *source)
|
||||
{
|
||||
dest->s_addr = source->s_addr;
|
||||
}
|
||||
|
||||
void pim_addr_dump(const char *onfail, struct prefix *p, char *buf,
|
||||
int buf_size);
|
||||
void pim_inet4_dump(const char *onfail, struct in_addr addr, char *buf,
|
||||
|
Loading…
Reference in New Issue
Block a user