1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

test-network: add tests for invalid [IPv6AddressLabel] section

This commit is contained in:
Yu Watanabe 2021-10-28 01:40:19 +09:00
parent 834f4294a7
commit 8edcd775e8

View File

@ -8,3 +8,27 @@ 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