git: 9front

Download patch

ref: 75afba77ca34ed100a8043c8900fcc11d24588a7
parent: 012e644db766493b8016f8ec62b3628f520dd237
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Aug 13 15:34:43 EDT 2022

ip/ipconfig: we do not want icmp advice errors on our dhcp connection

--- a/sys/src/cmd/ip/ipconfig/dhcp.c
+++ b/sys/src/cmd/ip/ipconfig/dhcp.c
@@ -618,6 +618,8 @@
 	if(fprint(cfd, "headers") < 0)
 		sysfatal("can't set header mode: %r");
 
+	fprint(cfd, "ignoreadvice");
+
 	sprint(data, "%s/data", devdir);
 	fd = open(data, ORDWR);
 	if(fd < 0)
--