1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

networkd vxlan: Pass correct type

The group argument is a union. We need to
pass the correct type
This commit is contained in:
Susant Sahani 2014-07-03 15:06:59 +05:30 committed by Tom Gundersen
parent 72d33d99c5
commit 853284abdd

View File

@ -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",