summaryrefslogtreecommitdiffstats
path: root/test/test-network
diff options
context:
space:
mode:
authorMichele Dionisio <michele.dionisio@powersoft.com>2024-11-05 11:53:30 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-11-06 16:50:27 +0100
commitd865abf9eb50bc484c1671c323e9e59e204b0a5b (patch)
tree88c817e02b9a4f8f649446b403303d77f0303421 /test/test-network
parentGrammar and formatting for DeviceTree docs (#35050) (diff)
downloadsystemd-d865abf9eb50bc484c1671c323e9e59e204b0a5b.tar.xz
systemd-d865abf9eb50bc484c1671c323e9e59e204b0a5b.zip
networkd: add possibility to specify MulticastIGMPVersion
Diffstat (limited to 'test/test-network')
-rw-r--r--test/test-network/conf/25-sysctl.network1
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network/conf/25-sysctl.network b/test/test-network/conf/25-sysctl.network
index 759fe65fe8..dcc4f0d293 100644
--- a/test/test-network/conf/25-sysctl.network
+++ b/test/test-network/conf/25-sysctl.network
@@ -13,3 +13,4 @@ IPv6ProxyNDP=yes
IPv6AcceptRA=no
IPv4AcceptLocal=yes
IPv4ReversePathFilter=no
+MulticastIGMPVersion=v1
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index c7d75d8a67..8ee94a0294 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -4381,6 +4381,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
self.check_ipv4_sysctl_attr('dummy98', 'proxy_arp_pvlan', '1')
self.check_ipv4_sysctl_attr('dummy98', 'accept_local', '1')
self.check_ipv4_sysctl_attr('dummy98', 'rp_filter', '0')
+ self.check_ipv4_sysctl_attr('dummy98', 'force_igmp_version', '1')
copy_network_unit('25-sysctl.network.d/25-ipv6-privacy-extensions.conf')
networkctl_reload()