Skip to contentSkip to conversation

Patch: Sparc system support

Qemu-devel Blue Swirl 1 participant 1 message Oct 3, 2004

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw
Quoted 1 line

OK. So you mean I must reverse your patch in bootp.c or implement a correct bootp server ?

For example like this:

slirp/bootp.c 2004-10-02 16:40:07.000000000 +0200 renamed from slirp/bootp.c 2004-10-01 00:22:08.000000000 +0200 +2 -1
diff -ruN qemu.orig/slirp/bootp.c qemu/slirp/bootp.c
@@ -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