Updated the list of USB device IDs for uvscom(4).
[dragonfly.git] / sbin / dhclient / client / clparse.c.patch
blobbb88c48972e0e5e295f7d0fd15f0ccbde1811f6b
1 $DragonFly: src/sbin/dhclient/client/Attic/clparse.c.patch,v 1.1 2005/01/04 19:58:54 joerg Exp $
2 --- clparse.c.orig 2004-06-10 19:59:11.000000000 +0200
3 +++ clparse.c 2004-06-24 16:35:45.000000000 +0200
4 @@ -776,7 +776,7 @@
5 if (status != ISC_R_SUCCESS)
6 log_fatal ("Can't record interface %s: %s",
7 name, isc_result_totext (status));
8 - strcpy (ip -> name, name);
9 + strlcpy (ip -> name, name, IFNAMSIZ);
10 if (dummy_interfaces) {
11 interface_reference (&ip -> next,
12 dummy_interfaces, MDL);