summaryrefslogtreecommitdiffstats
path: root/test/test-network/conf/25-ipv6-address-label-section.network
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
commitb750101eb236130cf056c675997decbac904cc49 (patch)
treea5df1a06754bdd014cb975c051c83b01c9a97532 /test/test-network/conf/25-ipv6-address-label-section.network
parentInitial commit. (diff)
downloadsystemd-b750101eb236130cf056c675997decbac904cc49.tar.xz
systemd-b750101eb236130cf056c675997decbac904cc49.zip
Adding upstream version 252.22.upstream/252.22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/test-network/conf/25-ipv6-address-label-section.network')
-rw-r--r--test/test-network/conf/25-ipv6-address-label-section.network34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/test-network/conf/25-ipv6-address-label-section.network b/test/test-network/conf/25-ipv6-address-label-section.network
new file mode 100644
index 0000000..89a5c2a
--- /dev/null
+++ b/test/test-network/conf/25-ipv6-address-label-section.network
@@ -0,0 +1,34 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Match]
+Name=dummy98
+
+[Network]
+IPv6AcceptRA=no
+
+[IPv6AddressLabel]
+Label=4444
+Prefix=2004:da8:1:0::/64
+
+# invalid sections
+[IPv6AddressLabel]
+# No Label=
+Prefix=2004:da8:1:1::/64
+
+[IPv6AddressLabel]
+# No Prefix=
+Label=4445
+
+[IPv6AddressLabel]
+# Invalid label
+Label=0xffffffff
+Prefix=2004:da8:1:2::/64
+
+[IPv6AddressLabel]
+# IPv4 mapped prefix
+Label=4446
+Prefix=::ffff:c0a8:0/120
+
+[IPv6AddressLabel]
+# Invalid prefix
+Label=4447
+Prefix=192.168.1.0/24