diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 13:07:30 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-14 13:07:30 +0200 | 
| commit | 2d8270596a085e7a815cebaea21e17cba9e26111 (patch) | |
| tree | f9a559f654e7d704ecacc9dadedbe01868615610 /lib/if_rmap.c | |
| parent | 625e016d14073dfefb69c0fa36cddb81fbe034ed (diff) | |
| parent | 905c15079393987f8cfdd55c30e7e1a3248c8c48 (diff) | |
Merge remote-tracking branch 'frr/master' into newline-redux
Lots of conflicts from CMD_WARNING_CONFIG_FAILED...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/if_rmap.c')
| -rw-r--r-- | lib/if_rmap.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c index 49f9da5249..a0c40d5afa 100644 --- a/lib/if_rmap.c +++ b/lib/if_rmap.c @@ -229,7 +229,7 @@ DEFUN (if_rmap,    else      {        vty_out (vty, "route-map direction must be [in|out]\n"); -      return CMD_WARNING; +      return CMD_WARNING_CONFIG_FAILED;      }    if_rmap_set (argv[idx_ifname]->arg, type, argv[idx_rmap_name]->arg); @@ -260,14 +260,14 @@ DEFUN (no_if_rmap,    else      {        vty_out (vty, "route-map direction must be [in|out]\n"); -      return CMD_WARNING; +      return CMD_WARNING_CONFIG_FAILED;      }    ret = if_rmap_unset (argv[idx_ifname]->arg, type, argv[idx_routemap_name]->arg);    if (! ret)      {        vty_out (vty, "route-map doesn't exist\n"); -      return CMD_WARNING; +      return CMD_WARNING_CONFIG_FAILED;      }    return CMD_SUCCESS;  }  | 
