shithub: riscv

Download patch

ref: 0b7f6f27b215c5cfa680d2b70d13806706386f3f
parent: b85b00c2cdd580f88bb0ad91fd260b91370222af
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 12 15:42:07 EST 2022

ip/dhcpclient: ignore icmp advice messages

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