Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topotests: fix ignore routes with linkdown
In topotest, a given interface has only the ignore routes bit turned on for IPv6 only, whereas topotest is expected to turn it on for all address families. > # show interface > Interface r2-r3-eth2 is up, line protocol is up > [..] > flags: <UP,BROADCAST,RUNNING,MULTICAST> > Ignore all v6 routes with linkdown > Type: Ethernet > [..] This is because the only the 'default' ipv6 ignore sysctl is set to 1. Use the /proc/sys/net/conf/<family>/default/ignore_routes_with_linkdown flag instead, to have same behaviour for ipv4 and ipv6. Fixes: 4958158 ("tests: micronet: update infra") Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information