$NetBSD: patch-ad,v 1.1.1.1 2001/02/19 12:35:21 agc Exp $ Linux tape handling. --- hercifc.c 2001/02/19 12:08:31 1.1 +++ hercifc.c 2001/02/19 12:08:42 @@ -64,7 +64,11 @@ sin = (struct sockaddr_in*) (oper == SIOCSIFADDR ? &ifreq.ifr_addr :oper == SIOCSIFDSTADDR ? &ifreq.ifr_dstaddr +#ifdef __NetBSD__ + :oper == SIOCSIFNETMASK ? &ifreq.ifr_broadaddr +#else :oper == SIOCSIFNETMASK ? &ifreq.ifr_netmask +#endif :NULL); /* Store the IP address into the structure */