diff options
| author | Roy Marples <roy@marples.name> | 2019-05-02 13:02:36 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-05-02 13:02:36 +0100 |
| commit | d5133a7b84a510f5feb4e3890d829aec4aadbe73 (patch) | |
| tree | 23ffb2691fb8ac06e93dac14156cd167c0437543 /src/if.h | |
| parent | 08f2db730dc7a7be49eff37a36cdf5b57f2e9857 (diff) | |
| download | dhcpcd-d5133a7b84a510f5feb4e3890d829aec4aadbe73.tar.xz | |
BSD: RTM_IFINFO is not emitted for all interfaces past unknown link
It has to work for wireless interfaces, but we have no idea
about other interfaces. So test valid carrier for unknown.
Diffstat (limited to 'src/if.h')
| -rw-r--r-- | src/if.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,6 +111,7 @@ int if_getifaddrs(struct ifaddrs **); #define getifaddrs if_getifaddrs #endif +int if_getflags(struct interface *ifp); int if_setflag(struct interface *ifp, short flag); #define if_up(ifp) if_setflag((ifp), (IFF_UP | IFF_RUNNING)) bool if_valid_hwaddr(const uint8_t *, size_t); @@ -133,7 +134,6 @@ int if_carrier(struct interface *); int if_makealias(char *, size_t, const char *, int); #endif -int if_carrier_os(struct interface *); int if_mtu_os(const struct interface *); /* |
