summaryrefslogtreecommitdiffstats
path: root/if.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2015-03-06 08:40:35 +0000
committerRoy Marples <roy@marples.name>2015-03-06 08:40:35 +0000
commit894cfee380e7c80fd44ab8d66480d87e3fd0011d (patch)
treeb86cdab19485c8877e17bc5b90c2d1f0bd5b561f /if.c
parent42bade9fadde446d82c27028837f21b078a794e8 (diff)
downloaddhcpcd-894cfee380e7c80fd44ab8d66480d87e3fd0011d.tar.xz
Add why dhcpcd is ignoring an interface in debug output.
Diffstat (limited to 'if.c')
-rw-r--r--if.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/if.c b/if.c
index 3eb85796..7526b77a 100644
--- a/if.c
+++ b/if.c
@@ -345,6 +345,11 @@ if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv)
ctx->ifac == 0 &&
!if_hasconf(ctx, ifp->name))
{
+ syslog(LOG_DEBUG,
+ "%s: ignoring due to"
+ " interface type and"
+ " no config",
+ ifp->name);
if_free(ifp);
continue;
}