summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topotest.py
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2024-04-04 14:01:31 -0400
committerGitHub <noreply@github.com>2024-04-04 14:01:31 -0400
commit51afc9e31ff3abd23e68ae910d42b454e76d9d6c (patch)
tree9aab4d35d576237c7c7c90f101ce88b13e443c23 /tests/topotests/lib/topotest.py
parent3d66dd3e861e84c5812fca82a4704e483c992f2c (diff)
parentc2e0060495f11105c0d9d5a15e9856ed1e216186 (diff)
Merge pull request #15633 from pguibert6WIND/ipv4_ignore_routes_with_linkdown
topotests: fix ignore routes with linkdown
Diffstat (limited to 'tests/topotests/lib/topotest.py')
-rw-r--r--tests/topotests/lib/topotest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py
index 2f69f7364b..985ba536dd 100644
--- a/tests/topotests/lib/topotest.py
+++ b/tests/topotests/lib/topotest.py
@@ -1296,6 +1296,8 @@ def fix_netns_limits(ns):
sysctl_assure(ns, "net.ipv4.conf.all.ignore_routes_with_linkdown", 1)
sysctl_assure(ns, "net.ipv6.conf.all.ignore_routes_with_linkdown", 1)
+ sysctl_assure(ns, "net.ipv4.conf.default.ignore_routes_with_linkdown", 1)
+ sysctl_assure(ns, "net.ipv6.conf.default.ignore_routes_with_linkdown", 1)
# igmp
sysctl_atleast(ns, "net.ipv4.igmp_max_memberships", 1000)