From 9564a0198b1cb2e8a09e92de3bd9be7c55f3d2fc Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 7 Dec 2014 18:22:37 +0100 Subject: drop the memset change --- debian/patches/pfinet_dhcp.patch | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'debian') diff --git a/debian/patches/pfinet_dhcp.patch b/debian/patches/pfinet_dhcp.patch index 8d83b0cc..55674c96 100644 --- a/debian/patches/pfinet_dhcp.patch +++ b/debian/patches/pfinet_dhcp.patch @@ -393,14 +393,7 @@ /* Now assign the new address */ inet6_addr_add (in->device->ifindex, &in->address6.addr, in->address6.prefix_len); -@@ -418,33 +517,40 @@ - req.nlh.nlmsg_seq = 0; - req.nlh.nlmsg_len = NLMSG_LENGTH (sizeof req.rtm); - -- memset (&req.rtm, 0, sizeof req.rtm); -- memset (&rta, 0, sizeof rta); -+ memset (&req.rtm, 0, sizeof req.rtm); -+ memset (&rta, 0, sizeof rta); +@@ -418,28 +517,35 @@ req.rtm.rtm_scope = RT_SCOPE_UNIVERSE; req.rtm.rtm_type = RTN_UNICAST; req.rtm.rtm_protocol = RTPROT_STATIC; -- cgit v1.2.3