diff options
| author | Roy Marples <roy@marples.name> | 2015-04-30 10:16:06 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-04-30 10:16:06 +0000 |
| commit | 68729f15d95543e1e8bb2ee5fc6b432b4a94bb87 (patch) | |
| tree | 29b44138a1efee76ebee139ff33328aa9f3c5ea6 /if.h | |
| parent | d0038a71ccc51d3add40c92702f3bee4ecb2bb29 (diff) | |
| download | dhcpcd-68729f15d95543e1e8bb2ee5fc6b432b4a94bb87.tar.xz | |
Make finding interfaces take an interface list rather than a dhcpcd_ctx.
Diffstat (limited to 'if.h')
| -rw-r--r-- | if.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -83,8 +83,8 @@ int if_setflag(struct interface *ifp, short flag); #define if_up(ifp) if_setflag((ifp), (IFF_UP | IFF_RUNNING)) struct if_head *if_discover(struct dhcpcd_ctx *, int, char * const *); -struct interface *if_find(struct dhcpcd_ctx *, const char *); -struct interface *if_findindex(struct dhcpcd_ctx *, unsigned int); +struct interface *if_find(struct if_head *, const char *); +struct interface *if_findindex(struct if_head *, unsigned int); void if_sortinterfaces(struct dhcpcd_ctx *); void if_free(struct interface *); int if_domtu(const char *, short int); |
