]> git.puffer.fish Git - mirror/frr.git/commitdiff
ospfd: return non-zero for configuration failures 1589/head
authorlihongguang <lhg803@163.com>
Wed, 3 Jan 2018 14:47:28 +0000 (22:47 +0800)
committerlihongguang <lhg803@163.com>
Wed, 3 Jan 2018 14:47:28 +0000 (22:47 +0800)
Signed-off-by: lihongguang <lhg803@163.com>
ospfd/ospf_vty.h

index 9fd0c3ed4cc371e177604d9d59e8ec0c61a41513..5eb6842be35cc876fbc59f7ae1ecc42fd4adeb3e 100644 (file)
@@ -44,6 +44,7 @@
                        vty_out(vty,                                           \
                                "%% You can't configure %s to backbone\n",     \
                                NAME);                                         \
+                       return CMD_WARNING;                                \
                }                                                              \
        }