summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2023-07-06 22:40:50 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-07-12 14:06:00 +0200
commit492b93bea0f1c366ad7ba0b85557501f03c1c304 (patch)
tree55f7374e7a4bcbb0f617ccedbb9a2b3839a20fed /lib/command_py.c
parent23cd58e8573afc6d28a2a75cfc440ddc09ca6ed0 (diff)
zebra: fix imported static routes deletion
When unconfiguring 'no import <table>', a static route imported from a routing table number is never deleted. When importing a route from a given table, a default distance of 15 is applied. At the time of deletion, when trying to compare the original route with the new one, the distance does not match, because the static route applies a default distance of 1. If the imported route has the distance set, unset the distance flag to avoid comparing it. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions