parse-util: accept arbitrary MTU size when AF_UNSPEC
When [Link] MTU= is specified in a .network file, we have no idea about that what kind of interface will be configured with the .network file. The maximum and minimum MTU size depend on the kind of interface. So, we should not filter MTU eagerly in the parser. Closes #30140.
This commit is contained in:
@@ -296,7 +296,7 @@ INVALID_COMMAND_LINES=(
|
||||
"ip=10.0.0.1:::255.255.255::foo99:off"
|
||||
"ip=10.0.0.1:::255.255.255.0:invalid_hostname:foo99:off"
|
||||
"ip=10.0.0.1:::255.255.255.0::verylonginterfacename:off"
|
||||
"ip=:::::dhcp99:dhcp6:0"
|
||||
"ip=:::::dhcp99:dhcp6:4294967296"
|
||||
"ip=:::::dhcp99:dhcp6:-1"
|
||||
"ip=:::::dhcp99:dhcp6:666:52:54:00"
|
||||
"ip=fdef:c400:bd01:1096::2::[fdef:c400:bd01:1096::1]:64::ipv6:off:[fdef:c400:bd01:1096::aaaa]"
|
||||
|
||||
Reference in New Issue
Block a user