summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-02 00:36:19 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-12-02 00:36:19 +0100
commit86ecb6b0079efaf5f925f068ae9d475497d8a478 (patch)
treeb98654887b36e30b3d5561a593bcc9e693c4e84f /debian/patches
parentdf1a438eae4acd80c9a9ac8cfcf596ff21adef1c (diff)
fix dhcp patch
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