summaryrefslogtreecommitdiffstats
path: root/test/test-network/conf/25-dhcp-client-allow-list.network.d
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-network/conf/25-dhcp-client-allow-list.network.d')
-rw-r--r--test/test-network/conf/25-dhcp-client-allow-list.network.d/00-allow-list.conf5
-rw-r--r--test/test-network/conf/25-dhcp-client-allow-list.network.d/10-deny-list.conf4
2 files changed, 9 insertions, 0 deletions
diff --git a/test/test-network/conf/25-dhcp-client-allow-list.network.d/00-allow-list.conf b/test/test-network/conf/25-dhcp-client-allow-list.network.d/00-allow-list.conf
new file mode 100644
index 0000000..9204d14
--- /dev/null
+++ b/test/test-network/conf/25-dhcp-client-allow-list.network.d/00-allow-list.conf
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[DHCPv4]
+# test without prefix length
+AllowList=
+AllowList=192.168.6.1
diff --git a/test/test-network/conf/25-dhcp-client-allow-list.network.d/10-deny-list.conf b/test/test-network/conf/25-dhcp-client-allow-list.network.d/10-deny-list.conf
new file mode 100644
index 0000000..0c15d23
--- /dev/null
+++ b/test/test-network/conf/25-dhcp-client-allow-list.network.d/10-deny-list.conf
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[DHCPv4]
+# Unset AllowList= to make DenyList= will be used.
+AllowList=