summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 13:07:30 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 13:07:30 +0200
commit2d8270596a085e7a815cebaea21e17cba9e26111 (patch)
treef9a559f654e7d704ecacc9dadedbe01868615610 /zebra/irdp_interface.c
parent*: remove VTYNL, part 6 of 6 (diff)
parentMerge pull request #815 from dwalton76/CMD_WARNING_take2 (diff)
downloadfrr-2d8270596a085e7a815cebaea21e17cba9e26111.tar.xz
frr-2d8270596a085e7a815cebaea21e17cba9e26111.zip
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 'zebra/irdp_interface.c')
-rw-r--r--zebra/irdp_interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/irdp_interface.c b/zebra/irdp_interface.c
index 3c727ecb7..323e94818 100644
--- a/zebra/irdp_interface.c
+++ b/zebra/irdp_interface.c
@@ -480,7 +480,7 @@ DEFUN (ip_irdp_minadvertinterval,
else {
vty_out (vty, "%% MinAdvertInterval must be less than or equal to "
"MaxAdvertInterval\n");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
}
@@ -507,7 +507,7 @@ DEFUN (ip_irdp_maxadvertinterval,
else {
vty_out (vty, "%% MaxAdvertInterval must be greater than or equal to "
"MinAdvertInterval\n");
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
}
}
@@ -561,7 +561,7 @@ DEFUN (ip_irdp_address_preference,
irdp=&zi->irdp;
ret = inet_aton(argv[idx_ipv4]->arg, &ip);
- if(!ret) return CMD_WARNING;
+ if(!ret) return CMD_WARNING_CONFIG_FAILED;
pref = atoi(argv[idx_number]->arg);
@@ -603,7 +603,7 @@ DEFUN (no_ip_irdp_address_preference,
ret = inet_aton(argv[idx_ipv4]->arg, &ip);
if (!ret)
- return CMD_WARNING;
+ return CMD_WARNING_CONFIG_FAILED;
for (ALL_LIST_ELEMENTS (irdp->AdvPrefList, node, nnode, adv))
{