X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/394615dd78f78c52ba9051410a026fdb74a40d93..29ec5d802c648afb89dd4f326bc4752f40ad7416:/package/dnsmasq/patches/102-rtnetlink.patch diff --git a/package/dnsmasq/patches/102-rtnetlink.patch b/package/dnsmasq/patches/102-rtnetlink.patch index 03f9917a1..932c7e66b 100644 --- a/package/dnsmasq/patches/102-rtnetlink.patch +++ b/package/dnsmasq/patches/102-rtnetlink.patch @@ -1,6 +1,7 @@ ---- dnsmasq-2.35/src/netlink.c.orig 2006-12-04 23:32:49.000000000 +0100 -+++ dnsmasq-2.35/src/netlink.c 2006-12-04 23:33:18.000000000 +0100 -@@ -17,6 +17,10 @@ +diff -ur dnsmasq-2.47.orig/src/netlink.c dnsmasq-2.47/src/netlink.c +--- dnsmasq-2.47.orig/src/netlink.c 2009-02-15 19:05:25.000000000 +0200 ++++ dnsmasq-2.47/src/netlink.c 2008-02-15 19:05:25.000000000 +0200 +@@ -21,6 +21,10 @@ #include #include #include @@ -9,5 +10,5 @@ +# define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg)))) +#endif - static struct iovec iov; - + /* linux 2.6.19 buggers up the headers, patch it up here. */ + #ifndef IFA_RTA