git: 9front

Download patch

ref: eda4993cc2e90facfbf9fbf4327581864bf113a6
parent: 4aa7e07acf587fd6216dbd19b11eb449d4cef8b8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Mar 18 15:52:31 EDT 2015

dhcpd: ignore ";" filename from sgi arcs bootp(); command

--- a/sys/src/cmd/ip/dhcpd/dhcpd.c
+++ b/sys/src/cmd/ip/dhcpd/dhcpd.c
@@ -932,6 +932,10 @@
 	} else
 		slowdelay(rp);
 
+	/* ignore file for sgi arcs command bootp(); */
+	if(strcmp(bp->file, ";") == 0)
+		*bp->file = 0;
+
 	/* ignore if we don't know what file to load */
 	if(*bp->file == 0){
 		if(rp->genrequest && *iip->bootf2) /* if not plan 9 & have alternate file... */
--