diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-03 22:25:13 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-09 01:24:15 +0200 |
commit | 9f46cc36aa35e2dc68204e554fa137465baafe07 (patch) | |
tree | ec088bba901e4e328b65bf2be601b8b5101850ca /lib/command.c | |
parent | pbrd, vtysh: Limit range to actual 1-700 (diff) | |
download | frr-9f46cc36aa35e2dc68204e554fa137465baafe07.tar.xz frr-9f46cc36aa35e2dc68204e554fa137465baafe07.zip |
lib: move ip node above vrf node for config order
VRF static route commands adopt global static config if static config is
placed after a vrf context with no separator, workaround by always
writing static route config before vrf config
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index 2744061b5..e0701aa41 100644 --- a/lib/command.c +++ b/lib/command.c @@ -85,6 +85,7 @@ const char *node_names[] = { "keychain", // KEYCHAIN_NODE, "keychain key", // KEYCHAIN_KEY_NODE, "logical-router", // LOGICALROUTER_NODE, + "static ip", // IP_NODE, "vrf", // VRF_NODE, "interface", // INTERFACE_NODE, "nexthop-group", // NH_GROUP_NODE, @@ -119,7 +120,6 @@ const char *node_names[] = { "ldp l2vpn", // LDP_L2VPN_NODE, "ldp", // LDP_PSEUDOWIRE_NODE, "isis", // ISIS_NODE, - "static ip", // IP_NODE, "ipv4 access list", // ACCESS_NODE, "ipv4 prefix list", // PREFIX_NODE, "ipv6 access list", // ACCESS_IPV6_NODE, |