diff options
| author | Roy Marples <roy@marples.name> | 2019-10-09 12:47:06 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-10-09 12:47:06 +0100 |
| commit | b2af48e581d28f72ca918d87ace8a8af31854499 (patch) | |
| tree | d7eb0b35638bd1083727bc503035e196451da69a /src/if.h | |
| parent | fd61e41c9e7fc40183b47061a293677df5614f3f (diff) | |
| download | dhcpcd-b2af48e581d28f72ca918d87ace8a8af31854499.tar.xz | |
if: Ignore TAP interfaces by default
TAP interfaces are virtual ethernet and not really distinguishable
from real interfaces other than the interface name.
On BSD the interfaces are always called tapN.
Diffstat (limited to 'src/if.h')
| -rw-r--r-- | src/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -152,6 +152,7 @@ int if_nametospec(const char *, struct if_spec *); int if_conf(struct interface *); int if_init(struct interface *); int if_getssid(struct interface *); +bool if_ignore(const char *); int if_vimaster(const struct dhcpcd_ctx *ctx, const char *); unsigned short if_vlanid(const struct interface *); int if_opensockets(struct dhcpcd_ctx *); |
