mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
![Yu Watanabe](/assets/img/avatar_default.png)
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
|