summaryrefslogtreecommitdiff
path: root/lib/command_match.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2023-08-04 18:24:51 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2023-08-04 18:24:51 +0300
commit3eb4d42e62bd47a3265f5b08ec372108ef1388d8 (patch)
tree28c41b14b91f2ba7846dde9197720b5c812df16d /lib/command_match.h
parentb036c510f263c645267e73d17190c623f9ffc5db (diff)
staticd: fix comparison of nexthop-vrf
When displaying the configuration, the order of nexthop-vrf is wrong, because the default VRF is not displayed, but still compared as the word "default". Therefore it is placed in the middle of the list instead of always being the first one. Before the fix: ``` ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf ccc ip route 1.1.1.0/24 2.2.2.2 ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf eee ``` After the fix: ``` ip route 1.1.1.0/24 2.2.2.2 ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf ccc ip route 1.1.1.0/24 2.2.2.2 nexthop-vrf eee ``` Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/command_match.h')
0 files changed, 0 insertions, 0 deletions