mirror of
https://github.com/systemd/systemd.git
synced 2025-01-23 02:04:32 +03:00
b65c539088
We have not tested if the settings actually filter DHCP servers. Let's add a test case for the settings. Note, the .network file used here has been unused since 0730e3767d91e020985dc5c7c2178460f627581a. So, we can freely reuse it without changing other test cases. Closes #30107.
13 lines
192 B
SYSTEMD
13 lines
192 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Match]
|
|
Name=veth99
|
|
|
|
[Network]
|
|
DHCP=ipv4
|
|
IPv6AcceptRA=false
|
|
|
|
[DHCPv4]
|
|
# DenyList= will be ignored
|
|
AllowList=192.168.6.0/24
|
|
DenyList=192.168.5.0/24
|