From a8caf78d611c09d3416fc21c4d193d9f41f92a18 Mon Sep 17 00:00:00 2001 From: Balaji Gurudoss Date: Mon, 4 Apr 2022 18:31:50 +0530 Subject: pim6d: Addition of ipv6 ssmpingd config commands Signed-off-by: Balaji Gurudoss --- pimd/pim_vty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pimd/pim_vty.c') diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index b360181f4..b0db6b4d9 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -264,8 +264,8 @@ int pim_global_config_write_worker(struct pim_instance *pim, struct vty *vty) struct ssmpingd_sock *ss; ++writes; for (ALL_LIST_ELEMENTS_RO(pim->ssmpingd_list, node, ss)) { - vty_out(vty, "%sip ssmpingd %pPA\n", spaces, - &ss->source_addr); + vty_out(vty, "%s" PIM_AF_NAME " ssmpingd %pPA\n", + spaces, &ss->source_addr); ++writes; } } -- cgit v1.2.3