diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-10-27 13:13:23 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-05-25 20:38:35 -0400 |
| commit | c8ae3ce8b6b2c5ec8ce0009118855a60593f29a3 (patch) | |
| tree | fdf3ed494aae829f56d7ebf1ad44b5ff8655069d /pimd/pim_vty.c | |
| parent | 84366c7e153b3e557b99168d4712539c076d23ea (diff) | |
pimd: Modify the RP data structure.
Modify the RP data structure to know how to get to it from here.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
| -rw-r--r-- | pimd/pim_vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 1c0c02f777..eeeda9d43f 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -99,8 +99,8 @@ int pim_global_config_write(struct vty *vty) vty_out(vty, "%s%s", PIM_CMD_IP_MULTICAST_ROUTING, VTY_NEWLINE); ++writes; } - if (qpim_rp.s_addr) { - vty_out(vty, "ip pim rp %s%s", inet_ntop(AF_INET, &qpim_rp, buffer, 32), VTY_NEWLINE); + if (qpim_rp.rpf_addr.s_addr != INADDR_NONE) { + vty_out(vty, "ip pim rp %s%s", inet_ntop(AF_INET, &qpim_rp.rpf_addr, buffer, 32), VTY_NEWLINE); ++writes; } |
