diff options
| author | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-08-17 15:04:25 +0000 |
|---|---|---|
| committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2017-08-17 15:04:25 +0000 |
| commit | c6e7b9524852848c72afa7973eb51da19c2dd147 (patch) | |
| tree | bf25d9e0acda78be41715ed8f67b45fe3090b95b /pimd/pim_cmd.c | |
| parent | fb13970d31ce8c9ba4096f20145e56caa2c862f4 (diff) | |
pimd: "No Path to RP address specified" should exit 0
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This could happen if routing isn't up yet but the command did take so we
should exit 0 here. Testing:
root@cel-redxp-10[frr-dwalton76]# vtysh -c 'conf t' -c' ip pim rp
11.11.11.11'
% No Path to RP address specified: 11.11.11.11
root@cel-redxp-10[frr-dwalton76]# echo $?
0
root@cel-redxp-10[frr-dwalton76]#
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index d7e94d11dd..fdc19e6294 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -5066,7 +5066,7 @@ static int pim_rp_cmd_worker(struct pim_instance *pim, struct vty *vty, if (result == PIM_RP_NO_PATH) { vty_out(vty, "%% No Path to RP address specified: %s\n", rp); - return CMD_WARNING_CONFIG_FAILED; + return CMD_WARNING; } if (result == PIM_GROUP_OVERLAP) { |
