summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/pfinet_dhcp.patch4
-rw-r--r--debian/patches/series2
2 files changed, 3 insertions, 3 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;
diff --git a/debian/patches/series b/debian/patches/series
index 3512bd32..093bac5a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,7 +2,6 @@ libexec.patch
diskfs_no_inherit_dir_group.patch
makedev.diff
-pfinet_dhcp.patch
startup-usr-support.patch
tmp_exec_startup.patch
uptime_w_path_fix.patch
@@ -74,3 +73,4 @@ dde-protected-payloads.patch
0027-mach-defpager-fix-build.patch
0028-Replace-bzero-with-memset.patch
0029-xxx-replace-bcopy-with-memcpy-or-memmove-as-appropri.patch
+pfinet_dhcp.patch