diff options
| author | Roy Marples <roy@marples.name> | 2008-09-09 17:07:48 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-09 17:07:48 +0000 |
| commit | 2b60ecb71e76e4a6ac765afac3ce7da87ef4464b (patch) | |
| tree | 968c8817e04c5120bd31ed433f3aed92a0471a1a /dhcpcd.h | |
| parent | 21164dfb798aedb56d11bcdca897106748094d91 (diff) | |
| download | dhcpcd-2b60ecb71e76e4a6ac765afac3ce7da87ef4464b.tar.xz | |
Sort interfaces according to preference and pass this to dhcpcd-run-hooks so we can prefer configs.
Diffstat (limited to 'dhcpcd.h')
| -rw-r--r-- | dhcpcd.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -67,7 +67,6 @@ struct if_state { time_t nakoff; uint32_t xid; int socket; - int carrier; int probes; int claims; int conflicts; @@ -84,6 +83,7 @@ struct interface unsigned char hwaddr[HWADDR_LEN]; size_t hwlen; int metric; + int carrier; int arpable; int raw_fd; @@ -106,6 +106,7 @@ struct interface extern int pidfd; extern int options; +extern struct interface *ifaces; int handle_args(int, char **); void handle_exit_timeout(void *); |
