changeset 2995:71bf6d24a608 draft

Add why dhcpcd is ignoring an interface in debug output.
author Roy Marples <roy@marples.name>
date Fri, 06 Mar 2015 08:40:35 +0000
parents 19fabfe71766
children 20c2c44431c9
files if.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/if.c	Thu Mar 05 19:43:46 2015 +0000
+++ b/if.c	Fri Mar 06 08:40:35 2015 +0000
@@ -345,6 +345,11 @@
 				    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;
 				}