]> git.proxmox.com Git - mirror_qemu.git/blobdiff - slirp/bootp.c
full system SPARC emulation (Blue Swirl)
[mirror_qemu.git] / slirp / bootp.c
index 8ae68af4661f018ddb859957cadac357e28085af..3924c107250c7b1268fee2bf2053b89ebb7f6d44 100644 (file)
@@ -178,7 +178,8 @@ static void bootp_reply(struct bootp_t *bp)
     rbp->bp_hlen = 6;
     memcpy(rbp->bp_hwaddr, bp->bp_hwaddr, 6);
 
-    rbp->bp_yiaddr = daddr.sin_addr; /* IP address */
+    rbp->bp_yiaddr = daddr.sin_addr; /* Client IP address */
+    rbp->bp_siaddr = saddr.sin_addr; /* Server IP address */
 
     q = rbp->bp_vend;
     memcpy(q, rfc1533_cookie, 4);