diff options
Diffstat (limited to 'pimd/pim_str.c')
| -rw-r--r-- | pimd/pim_str.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_str.c b/pimd/pim_str.c index f02732426e..8e1d7cec29 100644 --- a/pimd/pim_str.c +++ b/pimd/pim_str.c @@ -44,14 +44,14 @@ void pim_inet4_dump(const char *onfail, struct in_addr addr, char *buf, int buf_ } char * -pim_str_sg_dump (const struct prefix *sg) +pim_str_sg_dump (const struct prefix_sg *sg) { char src_str[100]; char grp_str[100]; static char sg_str[200]; - pim_inet4_dump ("<src?>", sg->u.sg.src, src_str, sizeof(src_str)); - pim_inet4_dump ("<grp?>", sg->u.sg.grp, grp_str, sizeof(grp_str)); + pim_inet4_dump ("<src?>", sg->src, src_str, sizeof(src_str)); + pim_inet4_dump ("<grp?>", sg->grp, grp_str, sizeof(grp_str)); snprintf (sg_str, 200, "(%s,%s)", src_str, grp_str); return sg_str; } |
