summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlihongguang <lhg803@163.com>2018-01-03 15:47:28 +0100
committerlihongguang <lhg803@163.com>2018-01-03 15:47:28 +0100
commite3e0481542c034b00fab4caa0b1bcd919f50b91c (patch)
tree0ff047cbca59d28b30098b5081aeaf24c056d1cc
parentMerge pull request #1584 from donaldsharp/1575_fix (diff)
downloadfrr-e3e0481542c034b00fab4caa0b1bcd919f50b91c.tar.xz
frr-e3e0481542c034b00fab4caa0b1bcd919f50b91c.zip
ospfd: return non-zero for configuration failures
Signed-off-by: lihongguang <lhg803@163.com>
-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 9fd0c3ed4..5eb6842be 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; \
} \
}