summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2017-08-30 17:18:02 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2017-08-31 17:14:01 +0200
commit851fcbaebec0e12945239b56f0e14f7c43d5966f (patch)
tree71b0b5d0d26a27045f7f64d0897aa10ac4ba6ccb /babeld
parentMerge pull request #1054 from dslicenc/eigrp-connected (diff)
downloadfrr-851fcbaebec0e12945239b56f0e14f7c43d5966f.tar.xz
frr-851fcbaebec0e12945239b56f0e14f7c43d5966f.zip
*: return CMD_WARNING if command was already configured
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> If the user configures some command that is already in the config we should return CMD_WARNING instead of CMD_WARNING_CONFIG_FAILED
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index 9fa32ee6f..bf560b829 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -292,7 +292,7 @@ DEFUN (babel_network,
if (ret < 0) {
vty_out (vty, "There is same network configuration %s\n",
argv[1]->arg);
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_WARNING;
}
return CMD_SUCCESS;