diff options
| author | Roy Marples <roy@marples.name> | 2008-09-03 16:49:28 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-03 16:49:28 +0000 |
| commit | f43e585355e50bd2e7021380db6fc792662f76be (patch) | |
| tree | d81565b32d67516b6ae178bcdbff09bda3251b45 /bind.c | |
| parent | f0c98483e7369f2df38edc352433239fa24f6a2f (diff) | |
| download | dhcpcd-f43e585355e50bd2e7021380db6fc792662f76be.tar.xz | |
Add a control socket so that interfaces can be dynamically re-set.
This requires the event loop argument being changed to void *
so we can send arguments other than an interface.
Diffstat (limited to 'bind.c')
| -rw-r--r-- | bind.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -98,8 +98,10 @@ daemonise(void) } #endif -void bind_interface(struct interface *iface) +void +bind_interface(void *arg) { + struct interface *iface = arg; struct if_state *state = iface->state; struct if_options *ifo = state->options; struct dhcp_lease *lease = &state->lease; |
