mirror of
https://github.com/systemd/systemd.git
synced 2024-12-25 01:34:28 +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
0730e3767d
. 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
|