git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d04b6e
)
tunnel: fix warning
author
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Mon, 10 Feb 2014 15:47:32 +0000
(16:47 +0100)
committer
Giuseppe Lettieri
<g.lettieri@iet.unipi.it>
Mon, 10 Feb 2014 15:47:32 +0000
(16:47 +0100)
lib/netdev-tunnel.c
patch
|
blob
|
history
diff --git
a/lib/netdev-tunnel.c
b/lib/netdev-tunnel.c
index
ec0f71f
..
5443a2d
100644
(file)
--- a/
lib/netdev-tunnel.c
+++ b/
lib/netdev-tunnel.c
@@
-121,7
+121,8
@@
netdev_tunnel_construct(struct netdev *netdev_)
netdev->connected = false;
- netdev->sockfd = inet_open_passive(SOCK_DGRAM, "", 0, &netdev->local_addr, 0);
+ netdev->sockfd = inet_open_passive(SOCK_DGRAM, "", 0,
+ (struct sockaddr_storage *)&netdev->local_addr, 0);
if (netdev->sockfd < 0) {
return netdev->sockfd;
}