[systemd-commits] src/network

Tom Gundersen tomegun at kemper.freedesktop.org
Thu Jul 3 02:46:10 PDT 2014


 src/network/networkd-vxlan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 853284abddb0c944c0dd5844735022be03dc1ab0
Author: Susant Sahani <susant at redhat.com>
Date:   Thu Jul 3 15:06:59 2014 +0530

    networkd vxlan: Pass correct type
    
    The group argument is a union. We need to
    pass the correct type

diff --git a/src/network/networkd-vxlan.c b/src/network/networkd-vxlan.c
index 6533f87..8832024 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",



More information about the systemd-commits mailing list