saner function name

This commit is contained in:
Simon Kelley
2012-12-22 22:35:11 +00:00
parent f0dd7f807d
commit 87d346f6a7

View File

@@ -39,7 +39,7 @@ static struct iovec iov;
static u32 netlink_pid;
static int nl_async(struct nlmsghdr *h);
static void nl_newinterface(time_t now);
static void nl_newaddress(time_t now);
void netlink_init(void)
{
@@ -200,7 +200,7 @@ int iface_enumerate(int family, void *parm, int (*callback)())
/* handle async new interface address arrivals, these have to be done
after we complete as we're not re-entrant */
if (newaddr)
nl_newinterface(dnsmasq_time());
nl_newaddress(dnsmasq_time());
return callback_ok;
}
@@ -342,7 +342,7 @@ void netlink_multicast(time_t now)
fcntl(daemon->netlinkfd, F_SETFL, flags);
if (newaddr)
nl_newinterface(now);
nl_newaddress(now);
}
static int nl_async(struct nlmsghdr *h)
@@ -391,7 +391,7 @@ static int nl_async(struct nlmsghdr *h)
return 0;
}
static void nl_newinterface(time_t now)
static void nl_newaddress(time_t now)
{
if (option_bool(OPT_CLEVERBIND) || daemon->doing_dhcp6 || daemon->doing_ra)
enumerate_interfaces();