chiark / gitweb /
networkd: integrate LLDP
[elogind.git] / src / network / networkd-address-pool.c
index a5079add0249f095098c7b027eccb1c07bf8e1dd..7ad11c617799dc8c8e36103e273ab0ab3f38a4e1 100644 (file)
 #include <arpa/inet.h>
 
 #include "networkd.h"
+#include "networkd-link.h"
 
 int address_pool_new(
                 Manager *m,
                 AddressPool **ret,
-                unsigned family,
+                int family,
                 const union in_addr_union *u,
                 unsigned prefixlen) {
 
@@ -54,7 +55,7 @@ int address_pool_new(
 int address_pool_new_from_string(
                 Manager *m,
                 AddressPool **ret,
-                unsigned family,
+                int family,
                 const char *p,
                 unsigned prefixlen) {