summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-06-04 17:47:32 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-06-05 18:25:01 +0300
commit3eec4ee0773786b7ba366bc7499ed6bbd28fdf79 (patch)
treef97dc395533728e1885c4fea5b09b44ac9afc646 /ospf6d/ospf6_interface.h
parent10ddcc321a59de099ee357fd5cca229a8c3110bf (diff)
ospfd: fix passive interface configuration
Currently, passive interface flag is configured from the router node using "passive-interface IFNAME". There are multiple problems with this command: - it is not in line with all other interface-related commands - other parameters are configured from the interface node using "ip ospf" prefix - it is not in line with OSPFv3 - passive flag is configured from the interface node using "ipv6 ospf6 passive" command - most importantly, it doesn't work correctly when the interface is in a different VRF - when using VRF-lite, it incorrectly changes the vrf_id of the interface and it becomes desynced with the actual state; when using netns, it creates a new fake interface and configures it instead of configuring the necessary interface To fix all the problems, this commit adds a new command to the interface configuration node - "ip ospf passive". The purpose of the command is completely the same, but it works correctly in a multi-VRF environment. The old command is preserved for the backward compatibility, but the warning is added that it is deprecated because it doesn't work correctly with VRFs. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'ospf6d/ospf6_interface.h')
0 files changed, 0 insertions, 0 deletions