summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-03 11:12:34 -0500
committerGitHub <noreply@github.com>2018-01-03 11:12:34 -0500
commit9bc82f11fbd9d2ebbb1094ff2f83c5b878fad590 (patch)
tree0ff047cbca59d28b30098b5081aeaf24c056d1cc
parentbaa68bca40d93e01d71f0e2723ef4ceddd3f6f97 (diff)
parente3e0481542c034b00fab4caa0b1bcd919f50b91c (diff)
Merge pull request #1589 from lihongguang/master
ospfd: return non-zero for configuration failures
-rw-r--r--ospfd/ospf_vty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospfd/ospf_vty.h b/ospfd/ospf_vty.h
index 9fd0c3ed4c..5eb6842be3 100644
--- a/ospfd/ospf_vty.h
+++ b/ospfd/ospf_vty.h
@@ -44,6 +44,7 @@
vty_out(vty, \
"%% You can't configure %s to backbone\n", \
NAME); \
+ return CMD_WARNING; \
} \
}