shithub: riscv

Download patch

ref: 931ccf8d20ed78b908643fdc3a80ae45737a4235
parent: 0e9c5f30eabbf213023658efb863dbaf6a608a51
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)