chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
72d33d9
)
networkd vxlan: Pass correct type
author
Susant Sahani
<susant@redhat.com>
Thu, 3 Jul 2014 09:36:59 +0000
(15:06 +0530)
committer
Tom Gundersen
<teg@jklm.no>
Thu, 3 Jul 2014 09:39:12 +0000
(11:39 +0200)
The group argument is a union. We need to
pass the correct type
src/network/networkd-vxlan.c
patch
|
blob
|
history
diff --git
a/src/network/networkd-vxlan.c
b/src/network/networkd-vxlan.c
index 6533f876a73cd55ee58411645307339ea6ac26ea..8832024ef1f36c295b6610a99661beb2de8592f8 100644
(file)
--- 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",
if (r < 0) {
log_error_netdev(netdev,
"Could not append IFLA_VXLAN_GROUP attribute: %s",