diff options
| author | Roy Marples <roy@marples.name> | 2008-09-04 11:43:56 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-04 11:43:56 +0000 |
| commit | 335b626a1731fed77776bae520a922435d94807a (patch) | |
| tree | 3dae96f32ac5705b5663d5e8f27f9e8fa6c8fbec /if-linux.c | |
| parent | 96d0673a2cd58d50f0e4c8e0c60b332a7fff92a8 (diff) | |
| download | dhcpcd-335b626a1731fed77776bae520a922435d94807a.tar.xz | |
Fix compile on Linux.
Diffstat (limited to 'if-linux.c')
| -rw-r--r-- | if-linux.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -176,10 +176,12 @@ link_netlink(struct nlmsghdr *nlm, const struct interface *ifaces) return 0; } -int -link_changed(int fd, const struct interface *iface) +manage_link(int fd, struct interface *ifaces, + void (*if_carrier)(struct interface *), + void (*if_add)(const char *), + void (*if_remove)(struct interface *)) { - return get_netlink(fd, MSG_DONTWAIT, &link_netlink, iface); + return get_netlink(fd, MSG_DONTWAIT, &link_netlink, ifaces); } static int |
