mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-10 16:31:00 +00:00
import of dnsmasq-2.24.tar.gz
This commit is contained in:
1 parent
3d8df260e1
commit
b8187c80a8
35 files changed
+6103
-363
No files matched your search
+2
-2
@@ -34,7 +34,7 @@ int netlink_init(void)
|
||||
addr.nl_groups = 0;
|
||||
|
||||
if (bind(sock, (struct sockaddr *)&addr, sizeof(addr)) < 0)
|
||||
die("cannot bind netlink socket: %s", NULL);
|
||||
die(_("cannot bind netlink socket: %s"), NULL);
|
||||
|
||||
return sock;
|
||||
}
|
||||
@@ -132,7 +132,7 @@ int netlink_process(struct daemon *daemon, int index, struct in_addr relay,
|
||||
rta = RTA_NEXT(rta, len1);
|
||||
}
|
||||
|
||||
if (addr.s_addr && broadcast.s_addr)
|
||||
if (addr.s_addr)
|
||||
{
|
||||
ret = complete_context(daemon, addr, ret, netmask, broadcast, relay, primary);
|
||||
if (addr.s_addr == primary.s_addr)
|
||||
|
||||
Reference in new issue
Block a user