diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-03-22 00:42:00 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2004-03-22 00:42:00 +0000 |
commit | b159494644ce0046309be00aedfa6426eeaac86a (patch) | |
tree | f3583f8694259dd2244bec924692078266650ec4 /net/isc-dhcp31-server/files/extra-patch-client::clparse.c | |
parent | 0293eb4de72a1ff7b61fce6ddd377a84694326aa (diff) | |
download | ports-b159494644ce0046309be00aedfa6426eeaac86a.tar.gz ports-b159494644ce0046309be00aedfa6426eeaac86a.zip |
Don't try to apply 802.11 patches on systems which lack the required
interfaces and headers.
Notes
Notes:
svn path=/head/; revision=104882
Diffstat (limited to 'net/isc-dhcp31-server/files/extra-patch-client::clparse.c')
-rw-r--r-- | net/isc-dhcp31-server/files/extra-patch-client::clparse.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/isc-dhcp31-server/files/extra-patch-client::clparse.c b/net/isc-dhcp31-server/files/extra-patch-client::clparse.c new file mode 100644 index 000000000000..4140cc6e3109 --- /dev/null +++ b/net/isc-dhcp31-server/files/extra-patch-client::clparse.c @@ -0,0 +1,11 @@ +--- client/clparse.c.orig Mon Feb 10 01:39:57 2003 ++++ client/clparse.c Wed Mar 3 01:35:39 2004 +@@ -785,7 +785,7 @@ + if (status != ISC_R_SUCCESS) + log_fatal ("Can't record interface %s: %s", + name, isc_result_totext (status)); +- strcpy (ip -> name, name); ++ strlcpy (ip -> name, name, IFNAMSIZ); + if (dummy_interfaces) { + interface_reference (&ip -> next, + dummy_interfaces, MDL); |