chiark / gitweb /
networkctl: avoid leak if a field was specified twice
[elogind.git] / src / network / test-network-tables.c
index d1e475a4c0222143a4cba11179cace29e949dfb7..67fcca2ac0094f1dfb53d55ec99f21175d2203ce 100644 (file)
@@ -1,5 +1,4 @@
 #include "networkd.h"
-#include "networkd-link.h"
 #include "networkd-netdev-bond.h"
 #include "networkd-netdev-macvlan.h"
 #include "dhcp6-internal.h"
@@ -21,6 +20,7 @@ int main(int argc, char **argv) {
         test_table(nl_union_link_info_data, NL_UNION_LINK_INFO_DATA);
 
         test_table_sparse(macvlan_mode, NETDEV_MACVLAN_MODE);
+        test_table_sparse(ipvlan_mode, NETDEV_IPVLAN_MODE);
         test_table_sparse(dhcp6_message_type, DHCP6_MESSAGE);
 
         return EXIT_SUCCESS;