shithub: riscv

Download patch

ref: 263251da75342817c69cdfc7dd0d4deb0e9f9637
parent: 5186cb3b998d9428d724710f0e9300a58884c261
author: cinap_lenrek <[email protected]>
date: Sun Mar 13 16:43:16 EDT 2022

ip/dhcpd: ignore icmp advice

should ignore advice as we are handling all connections
thru a single udp connection.

--- a/sys/src/cmd/ip/dhcpd/dhcpd.c
+++ b/sys/src/cmd/ip/dhcpd/dhcpd.c
@@ -1342,7 +1342,7 @@
 		fatal("can't announce: %r");
 	if(fprint(cfd, "headers") < 0)
 		fatal("can't set header mode: %r");
-
+	fprint(cfd, "ignoreadvice");
 	sprint(data, "%s/data", devdir);
 	fd = open(data, ORDWR);
 	if(fd < 0)