From 86ecb6b0079efaf5f925f068ae9d475497d8a478 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 2 Dec 2014 00:36:19 +0100 Subject: fix dhcp patch --- debian/patches/pfinet_dhcp.patch | 4 ++-- debian/patches/series | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'debian/patches') 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 -- cgit v1.2.3