chiark / gitweb /
nspawn: make nspawn robust to container failure
[elogind.git] / src / libsystemd / sd-rtnl / rtnl-types.c
index 27b7d04c3ebbf3dd502ebaaf1cdbddcd95e2f378..96467a32a62f1c9daa3598112f48b2c2e041ca44 100644 (file)
@@ -37,6 +37,7 @@
 #include "util.h"
 
 #include "rtnl-types.h"
+#include "missing.h"
 
 static const NLTypeSystem rtnl_link_type_system;
 
@@ -103,8 +104,8 @@ static const NLType rtnl_link_info_data_bond_types[IFLA_BOND_MAX + 1] = {
 
 static const NLType rtnl_link_info_data_iptun_types[IFLA_IPTUN_MAX + 1] = {
         [IFLA_IPTUN_LINK]                = { .type = NLA_U32 },
-        [IFLA_IPTUN_LOCAL]               = { .type = NLA_U32 },
-        [IFLA_IPTUN_REMOTE]              = { .type = NLA_U32 },
+        [IFLA_IPTUN_LOCAL]               = { .type = NLA_IN_ADDR },
+        [IFLA_IPTUN_REMOTE]              = { .type = NLA_IN_ADDR },
         [IFLA_IPTUN_TTL]                 = { .type = NLA_U8 },
         [IFLA_IPTUN_TOS]                 = { .type = NLA_U8 },
         [IFLA_IPTUN_PMTUDISC]            = { .type = NLA_U8 },