summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-22 17:09:13 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:37 +0200
commit71ad9915e7e5bc224fb1dd84ac709776465720f6 (patch)
treedfa82cf9cc8f8e95d1054c7ff9cd2e8e3e199529 /pimd/pim_vty.c
parentpimd: Make msdp `struct pim_instance *` aware (diff)
downloadfrr-71ad9915e7e5bc224fb1dd84ac709776465720f6.tar.xz
frr-71ad9915e7e5bc224fb1dd84ac709776465720f6.zip
pimd: Make pim_ssmpingd.c 'struct pim_instance' aware
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 0bc0eb589..30589f6e1 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -198,12 +198,12 @@ static int pim_global_config_write_worker(struct pim_instance *pim,
vty_out(vty, "ip pim ecmp\n");
++writes;
}
- if (qpim_ssmpingd_list) {
+ if (pim->ssmpingd_list) {
struct listnode *node;
struct ssmpingd_sock *ss;
vty_out(vty, "!\n");
++writes;
- for (ALL_LIST_ELEMENTS_RO(qpim_ssmpingd_list, node, ss)) {
+ for (ALL_LIST_ELEMENTS_RO(pim->ssmpingd_list, node, ss)) {
char source_str[INET_ADDRSTRLEN];
pim_inet4_dump("<src?>", ss->source_addr, source_str,
sizeof(source_str));