]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: fix type for IFLA_VXLAN_LOCAL
authorSusant Sahani <susant@redhat.com>
Thu, 23 Feb 2017 18:03:55 +0000 (23:33 +0530)
committerSusant Sahani <susant@redhat.com>
Fri, 24 Feb 2017 10:13:00 +0000 (15:43 +0530)
src/libsystemd/sd-netlink/netlink-types.c

index 0f8b0cc70bf4905b1f1ee2119c3acae946d6efcb..ff0e99558ee0e8103dfa442b09c646e508e8674f 100644 (file)
@@ -149,7 +149,7 @@ static const NLType rtnl_link_info_data_vxlan_types[] = {
         [IFLA_VXLAN_ID]                = { .type = NETLINK_TYPE_U32 },
         [IFLA_VXLAN_GROUP]             = { .type = NETLINK_TYPE_IN_ADDR },
         [IFLA_VXLAN_LINK]              = { .type = NETLINK_TYPE_U32 },
-        [IFLA_VXLAN_LOCAL]             = { .type = NETLINK_TYPE_U32},
+        [IFLA_VXLAN_LOCAL]             = { .type = NETLINK_TYPE_IN_ADDR },
         [IFLA_VXLAN_TTL]               = { .type = NETLINK_TYPE_U8 },
         [IFLA_VXLAN_TOS]               = { .type = NETLINK_TYPE_U8 },
         [IFLA_VXLAN_LEARNING]          = { .type = NETLINK_TYPE_U8 },