summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-07-03 15:06:59 +0530
committerTom Gundersen <teg@jklm.no>2014-07-03 11:39:12 +0200
commit853284abddb0c944c0dd5844735022be03dc1ab0 (patch)
tree12c5cf7d685f3d2ffe44bf4b00f661f379c1912c /src/network
parent72d33d99c5dda1aedf2e18b08236b86ecf5f520b (diff)
networkd vxlan: Pass correct type
The group argument is a union. We need to pass the correct type
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-vxlan.c b/src/network/networkd-vxlan.c
index 6533f876a7..8832024ef1 100644
--- a/src/network/networkd-vxlan.c
+++ b/src/network/networkd-vxlan.c
@@ -70,7 +70,7 @@ static int netdev_fill_vxlan_rtnl_message(NetDev *netdev, Link *link, sd_rtnl_me
}
}
- r = sd_rtnl_message_append_in_addr(m, IFLA_VXLAN_GROUP, &netdev->group);
+ r = sd_rtnl_message_append_in_addr(m, IFLA_VXLAN_GROUP, &netdev->group.in);
if (r < 0) {
log_error_netdev(netdev,
"Could not append IFLA_VXLAN_GROUP attribute: %s",