projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
183b4a3
)
use IPPROTO_IP instead of SOL_IP
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 18 Dec 2005 18:02:24 +0000
(18:02 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 18 Dec 2005 18:02:24 +0000
(18:02 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1715
c046a42c
-6fe2-441c-8c8c-
71466251a162
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
2baca1c
..
21dca78
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-2256,7
+2256,7
@@
static int net_socket_mcast_create(struct sockaddr_in *mcastaddr)
/* Force mcast msgs to loopback (eg. several QEMUs in same host */
val = 1;
- ret=setsockopt(fd,
SOL
_IP, IP_MULTICAST_LOOP, &val, sizeof(val));
+ ret=setsockopt(fd,
IPPROTO
_IP, IP_MULTICAST_LOOP, &val, sizeof(val));
if (ret < 0) {
perror("setsockopt(SOL_IP, IP_MULTICAST_LOOP)");
goto fail;