shithub: riscv

Download patch

ref: 7a129309104db08f55334f9129f1ff26ce80b1db
parent: 7c3db1d6203a1a63c663373917e80db42b44120b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Feb 11 18:30:52 EST 2019

ip/dhcpd: provide v4 argument for parseipmask()

--- a/sys/src/cmd/ip/dhcpd/ndb.c
+++ b/sys/src/cmd/ip/dhcpd/ndb.c
@@ -87,7 +87,7 @@
 setipmask(uchar *mask, char *ip)
 {
 	if(ipcmp(mask, IPnoaddr) == 0)
-		parseipmask(mask, ip);
+		parseipmask(mask, ip, 1);
 }
 
 /*