diff options
| author | Christian Hopps <chopps@labn.net> | 2021-11-06 07:12:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-06 07:12:26 -0400 |
| commit | 70eb6c94e6bceedbb86382904909cc47fab7979d (patch) | |
| tree | 38715013c2e12ac79b745d0694870e30e4e04101 /pimd/pim_join.c | |
| parent | 7dfccb1233f6c10889be5e5619374839abdaa9ca (diff) | |
| parent | 38c848c9bdcc00f17eeb60aafc5f158264a19d5a (diff) | |
Merge pull request #9980 from donaldsharp/pim_compile
pimd: remove usage of inet_ntop
Diffstat (limited to 'pimd/pim_join.c')
| -rw-r--r-- | pimd/pim_join.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_join.c b/pimd/pim_join.c index 652b27476d..4606aec6a1 100644 --- a/pimd/pim_join.c +++ b/pimd/pim_join.c @@ -1,3 +1,5 @@ + + /* * PIM for Quagga * Copyright (C) 2008 Everton da Silva Marques @@ -56,7 +58,6 @@ static void recv_join(struct interface *ifp, struct pim_neighbor *neigh, struct prefix_sg *sg, uint8_t source_flags) { struct pim_interface *pim_ifp = NULL; - char buf[PREFIX_STRLEN]; if (PIM_DEBUG_PIM_TRACE) { char up_str[INET_ADDRSTRLEN]; @@ -109,9 +110,8 @@ static void recv_join(struct interface *ifp, struct pim_neighbor *neigh, if (pim_is_grp_ssm(pim_ifp->pim, sg->grp)) { zlog_warn( - "%s: Specified Group(%s) in join is now in SSM, not allowed to create PIM state", - __func__, - inet_ntop(AF_INET, &sg->grp, buf, sizeof(buf))); + "%s: Specified Group(%pI4) in join is now in SSM, not allowed to create PIM state", + __func__, &sg->grp); return; } |
