summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_vty.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2017-08-31 18:23:25 +0200
committerGitHub <noreply@github.com>2017-08-31 18:23:25 +0200
commit8941a38520ca0c162015fd137311b2b9c6633cbc (patch)
treedf0569b313fb6a09bd1a0e7e8ee0368f1b4ee667 /eigrpd/eigrp_vty.c
parentMerge pull request #1079 from qlyoung/fix-style-a (diff)
parent*: return CMD_WARNING if command was already configured (diff)
downloadfrr-8941a38520ca0c162015fd137311b2b9c6633cbc.tar.xz
frr-8941a38520ca0c162015fd137311b2b9c6633cbc.zip
Merge pull request #1078 from dwalton76/ospfd-network-cmd-warning
*: return CMD_WARNING if command was already configured
Diffstat (limited to 'eigrpd/eigrp_vty.c')
-rw-r--r--eigrpd/eigrp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_vty.c b/eigrpd/eigrp_vty.c
index de21cb2e7..d4d3bb369 100644
--- a/eigrpd/eigrp_vty.c
+++ b/eigrpd/eigrp_vty.c
@@ -400,7 +400,7 @@ DEFUN (eigrp_network,
if (ret == 0) {
vty_out(vty, "There is already same network statement.\n");
- return CMD_WARNING_CONFIG_FAILED;
+ return CMD_WARNING;
}
return CMD_SUCCESS;