diff options
| author | Roy Marples <roy@marples.name> | 2008-09-16 09:55:46 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-16 09:55:46 +0000 |
| commit | 43b2edaf432212eeee9f97ca5e476af95e2c373e (patch) | |
| tree | f9d1ac8dbc0a6140f9d696d098145f7c02dc03df /net.h | |
| parent | b4160f67135a7878dfa11c480b2a37baba6bbca6 (diff) | |
| download | dhcpcd-43b2edaf432212eeee9f97ca5e476af95e2c373e.tar.xz | |
Move AF_LINK discovery to if-bsd.c. Also, we only work with IFT_ETHER types currently, so skip others.
Diffstat (limited to 'net.h')
| -rw-r--r-- | net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,8 +102,8 @@ int inet_ntocidr(struct in_addr); int inet_cidrtoaddr(int, struct in_addr *); int up_interface(const char *); -int do_interface(const char *, struct interface **, - int argc, char * const *argv, +int do_interface(const char *, void (*)(struct interface **, int, char * const *, struct ifreq *), + struct interface **, int, char * const *, struct in_addr *, struct in_addr *, int); int if_address(const struct interface *, const struct in_addr *, const struct in_addr *, |
