From: cinap_lenrek Date: Wed, 18 Mar 2015 18:52:31 +0000 (+0100) Subject: dhcpd: ignore ";" filename from sgi arcs bootp(); command X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=4d0343c9d2db502c162f5050385ba5528aef2a47;p=plan9front.git dhcpd: ignore ";" filename from sgi arcs bootp(); command --- diff --git a/sys/src/cmd/ip/dhcpd/dhcpd.c b/sys/src/cmd/ip/dhcpd/dhcpd.c index 885c14164..b5faaadb5 100644 --- a/sys/src/cmd/ip/dhcpd/dhcpd.c +++ b/sys/src/cmd/ip/dhcpd/dhcpd.c @@ -932,6 +932,10 @@ bootp(Req *rp) } 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... */