summaryrefslogtreecommitdiff
path: root/debian/patches/pfinet_dhcp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/pfinet_dhcp.patch')
-rw-r--r--debian/patches/pfinet_dhcp.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/pfinet_dhcp.patch b/debian/patches/pfinet_dhcp.patch
index 92446267..8d83b0cc 100644
--- a/debian/patches/pfinet_dhcp.patch
+++ b/debian/patches/pfinet_dhcp.patch
@@ -397,8 +397,8 @@
req.nlh.nlmsg_seq = 0;
req.nlh.nlmsg_len = NLMSG_LENGTH (sizeof req.rtm);
-- bzero (&req.rtm, sizeof req.rtm);
-- bzero (&rta, sizeof rta);
+- memset (&req.rtm, 0, sizeof req.rtm);
+- memset (&rta, 0, sizeof rta);
+ memset (&req.rtm, 0, sizeof req.rtm);
+ memset (&rta, 0, sizeof rta);
req.rtm.rtm_scope = RT_SCOPE_UNIVERSE;