summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-05-19 15:01:47 +0000
committerRoy Marples <roy@marples.name>2016-05-19 15:01:47 +0000
commit053b3dedb7998cbf7630ce7db28221af4af326f1 (patch)
treecf7a0055b5586930d337303018b61baccfcb439d /dhcpcd.c
parentcc1815985352e93d2827a554b79cb795ee235eb7 (diff)
downloaddhcpcd-053b3dedb7998cbf7630ce7db28221af4af326f1.tar.xz
managelink -> hanlelink
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index bccc2496..31204d95 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -986,13 +986,13 @@ dhcpcd_activateinterface(struct interface *ifp, unsigned long long options)
}
static void
-handle_link(void *arg)
+dhcpcd_handlelink(void *arg)
{
struct dhcpcd_ctx *ctx;
ctx = arg;
- if (if_managelink(ctx) == -1) {
- logger(ctx, LOG_ERR, "if_managelink: %m");
+ if (if_handlelink(ctx) == -1) {
+ logger(ctx, LOG_ERR, "if_handlelink: %m");
eloop_event_delete(ctx->eloop, ctx->link_fd);
close(ctx->link_fd);
ctx->link_fd = -1;
@@ -1828,7 +1828,7 @@ printpidfile:
/* Start handling kernel messages for interfaces, addreses and
* routes. */
- eloop_event_add(ctx.eloop, ctx.link_fd, handle_link, &ctx);
+ eloop_event_add(ctx.eloop, ctx.link_fd, dhcpcd_handlelink, &ctx);
/* Start any dev listening plugin which may want to
* change the interface name provided by the kernel */