summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-10-09 12:47:06 +0100
committerRoy Marples <roy@marples.name>2019-10-09 12:47:06 +0100
commitb2af48e581d28f72ca918d87ace8a8af31854499 (patch)
treed7eb0b35638bd1083727bc503035e196451da69a /src/if.h
parentfd61e41c9e7fc40183b47061a293677df5614f3f (diff)
downloaddhcpcd-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index 4126fd33..0800c102 100644
--- a/src/if.h
+++ b/src/if.h
@@ -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 *);