aboutsummaryrefslogtreecommitdiffstats
path: root/pingu_host.c
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-28 10:20:32 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-28 10:20:32 +0200
commita8986413c299c77c6f57f7e8f8f0e5abf1a882c9 (patch)
tree59f4f944266d6bbf6b551aa2b739b992ed3afb79 /pingu_host.c
parent6123996833bfcb450007392a9f9a2a046f9356cc (diff)
downloadpingu-a8986413c299c77c6f57f7e8f8f0e5abf1a882c9.tar.bz2
pingu-a8986413c299c77c6f57f7e8f8f0e5abf1a882c9.tar.xz
Use sockaddr_any for storing address and gateway
Diffstat (limited to 'pingu_host.c')
-rw-r--r--pingu_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pingu_host.c b/pingu_host.c
index da14858..427fe9a 100644
--- a/pingu_host.c
+++ b/pingu_host.c
@@ -156,7 +156,7 @@ static char *get_provider_gateway(struct pingu_host *p)
return p->host;
}
-static void exec_route_change(void)
+static void exec_route_change_hook(void)
{
struct pingu_host *host;
struct list_head *n;
@@ -240,7 +240,7 @@ int pingu_host_set_status(struct pingu_host *host, int status)
}
if (action != NULL)
execute_action(action);
- exec_route_change();
+ exec_route_change_hook();
return status;
}