diff options
Diffstat (limited to 'package/dhcp6/patches/patch-client_macros_h')
-rw-r--r-- | package/dhcp6/patches/patch-client_macros_h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/dhcp6/patches/patch-client_macros_h b/package/dhcp6/patches/patch-client_macros_h new file mode 100644 index 000000000..f918cd5fd --- /dev/null +++ b/package/dhcp6/patches/patch-client_macros_h @@ -0,0 +1,10 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- w-dhcp6-1.0-1.orig/client/macros.h 2025-06-28 23:21:40.000000000 +0200 ++++ w-dhcp6-1.0-1/client/macros.h 2008-10-20 15:31:08.000000000 +0200 +@@ -1,5 +1,5 @@ + #define INITIALIZE_SOCKADDR(x){ \ +- bzero((char *) &(x), sizeof((x))); \ ++ memset((char *) &(x), 0, sizeof((x))); \ + (x).sin6_family = AF_INET6; \ + (x).sin6_flowinfo = htonl(0); \ + (x).sin6_scope_id = 0; \ |