freebsd-ports/net/isc-dhcp30-server/files/patch-client::clparse.c
Sergey Matveychuk a1dec1380f - Update net/isc-dhcp3-* to 3.0.4
* fixes to the failover protocol
  * manpage updates
  * DDNS fixes
  * commandline parsing fixes
- Remove USE_REINPLACE

PR:		ports/96916
Submitted by:	maintainer
2006-05-07 20:34:01 +00:00

11 lines
308 B
C

--- client/clparse.c.orig Sat May 6 17:42:49 2006
+++ client/clparse.c Sat May 6 17:43:12 2006
@@ -777,7 +777,7 @@
interface_dereference(&ip, MDL);
return 0;
}
- strcpy(ip->name, name);
+ strlcpy (ip -> name, name, IFNAMSIZ);
if (dummy_interfaces) {
interface_reference (&ip -> next,