diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2021-07-21 13:34:56 -0300 |
|---|---|---|
| committer | mergify-bot <noreply@mergify.io> | 2021-08-04 14:47:38 +0000 |
| commit | db82b3f6d668e48984eb62d1ed97834fe8e5f287 (patch) | |
| tree | bf7c676350d3092b3991e0ad3db948cea10b9d5e /lib/routemap_cli.c | |
| parent | ee588432b91bec2b743218f760d23b98d3935d9d (diff) | |
ospf6d: fix argument processing in the "area ... range" command
* When the "cost" argument isn't present, the default cost should be
used instead of preserving the previously configured one (if any);
* When the "not-advertise" argument isn't present, the "not-advertise"
flag should be unset regardless if it was previously configured or
not.
Configuration commands should be deterministic and work in the same
way regardless of the current state.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
(cherry picked from commit 848db95c5aff7c387fe09efd4c91088bc7918ecb)
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
