diff options
Diffstat (limited to 'package/dhcp6/patches/patch-server_macros_h')
-rw-r--r-- | package/dhcp6/patches/patch-server_macros_h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/dhcp6/patches/patch-server_macros_h b/package/dhcp6/patches/patch-server_macros_h new file mode 100644 index 000000000..916e4c798 --- /dev/null +++ b/package/dhcp6/patches/patch-server_macros_h @@ -0,0 +1,10 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- w-dhcp6-1.0-1.orig/server/macros.h 2002-06-28 14:50:04.000000000 +0200 ++++ w-dhcp6-1.0-1/server/macros.h 2008-10-20 15:30:53.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; \ |