summaryrefslogtreecommitdiff
path: root/src/network/test-network-tables.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-13 19:48:19 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-13 20:17:06 +0100
commitcb9fc36a1211967e8c58b0502a26c42552ac8060 (patch)
tree6693e9724db113f07fb6655e13f0c7780779d9c3 /src/network/test-network-tables.c
parent66518acd40fbd99a87e553b2d0904c37c8929fb2 (diff)
networkd: introduce an AddressFamilyBoolean enum type
This introduces am AddressFamilyBoolean type that works more or less like a booleaan, but can optionally turn on/off things for ipv4 and ipv6 independently. THis also ports the DHCP field over to it.
Diffstat (limited to 'src/network/test-network-tables.c')
-rw-r--r--src/network/test-network-tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/test-network-tables.c b/src/network/test-network-tables.c
index 4d55434f03..d1e475a4c0 100644
--- a/src/network/test-network-tables.c
+++ b/src/network/test-network-tables.c
@@ -13,7 +13,7 @@ int main(int argc, char **argv) {
test_table(bond_mode, NETDEV_BOND_MODE);
/* test_table(link_state, LINK_STATE); -- not a reversible mapping */
test_table(link_operstate, LINK_OPERSTATE);
- test_table(dhcp_support, DHCP_SUPPORT);
+ test_table(address_family_boolean, ADDRESS_FAMILY_BOOLEAN);
test_table(netdev_kind, NETDEV_KIND);
test_table(dhcp6_message_status, DHCP6_STATUS);
test_table(duplex, DUP);