summaryrefslogtreecommitdiff
path: root/package/dhcp6/patches/patch-client_macros_h
blob: f918cd5fdb1faee87669057771d9790ae67a3020 (plain)
1
2
3
4
5
6
7
8
9
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;                                         \