[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Patch: Sparc system support
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] Patch: Sparc system support |
Date: |
Sun, 03 Oct 2004 09:37:37 +0200 |
OK. So you mean I must reverse your patch in bootp.c or implement a correct
bootp server ?
For example like this:
diff -ruN qemu.orig/slirp/bootp.c qemu/slirp/bootp.c
--- qemu.orig/slirp/bootp.c 2004-10-01 00:22:08.000000000 +0200
+++ qemu/slirp/bootp.c 2004-10-02 16:40:07.000000000 +0200
@@ -138,7 +138,8 @@
if (dhcp_msg_type != DHCPDISCOVER &&
dhcp_msg_type != DHCPREQUEST)
- return;
+ dhcp_msg_type = DHCPREQUEST; /* Force reply for old BOOTP clients
*/
+
/* XXX: this is a hack to get the client mac address */
memcpy(client_ethaddr, bp->bp_hwaddr, 6);
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail