diff options
author | Izik Eidus <ieidus@redhat.com> | 2010-03-19 16:51:39 +0200 |
---|---|---|
committer | Izik Eidus <ieidus@redhat.com> | 2010-03-19 16:51:39 +0200 |
commit | fc658426b068910a7d3aeb0e3872791dc9b348f7 (patch) | |
tree | b34bfb0e068931e52f6a9da26d56523db7b99670 | |
parent | 242b7cd981d8e1adcf401054a314ef9bef49e88a (diff) |
fix user net for win7
This bug was fixed by Avi Kivity
Signed-off-by: Izik Eidus <ieidus@redhat.com>
-rw-r--r-- | qemu/slirp/bootp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu/slirp/bootp.c b/qemu/slirp/bootp.c index bf704abf..ca177f40 100644 --- a/qemu/slirp/bootp.c +++ b/qemu/slirp/bootp.c @@ -191,6 +191,8 @@ static void bootp_reply(struct bootp_t *bp) rbp->bp_yiaddr = daddr.sin_addr; /* Client IP address */ rbp->bp_siaddr = saddr.sin_addr; /* Server IP address */ + daddr.sin_addr.s_addr = 0xffffffffu; + q = rbp->bp_vend; memcpy(q, rfc1533_cookie, 4); q += 4; |