You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
421 B
14 lines
421 B
18 years ago
|
--- 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 @@
|
||
|
#include <linux/types.h>
|
||
|
#include <linux/netlink.h>
|
||
|
#include <linux/rtnetlink.h>
|
||
|
+#ifndef IFA_RTA
|
||
|
+# include "linux/if_addr.h"
|
||
|
+# define IFA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))))
|
||
|
+#endif
|
||
|
|
||
|
static struct iovec iov;
|
||
|
|