shithub: 9ferno

Download patch

ref: d2ddb4edfec6500aa3e59e0517e9cc46eb146310
parent: a616b6c8c229a242bcbeefe81978a223fb82d9f0
author: 9ferno <gophone2015@gmail.com>
date: Thu Sep 9 22:51:41 EDT 2021

work with /net.alt and /net.alt/

--- a/appl/cmd/ip/dhcpd.b	Thu Sep  9 17:21:11 2021
+++ b/appl/cmd/ip/dhcpd.b	Thu Sep  9 22:51:41 2021
@@ -157,7 +157,7 @@
 		say("local ip address is "+siaddr.text());
 	}
 
-	addr := net+"udp!*!bootp";
+	addr := net+"/udp!*!bootp";
 	(ok, c) := sys->announce(addr);
 	if(ok < 0)
 		fail(sprint("announce %s: %r", addr));