summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_vlan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 9449dec..98961e7 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -591,9 +591,15 @@ vlan_input(struct ifnet *ifp, struct mbuf *m)
VLAN_UNLOCK();
m_freem(m);
ifp->if_noproto++;
+#ifdef DEBUG
+ printf("vlan_input: tag %d, no interface\n", tag);
+#endif
return;
}
VLAN_UNLOCK(); /* XXX extend below? */
+#ifdef DEBUG
+ printf("vlan_input: tag %d, parent %s\n", tag, ifv->ifv_p->if_xname);
+#endif
if (mtag == NULL) {
/*
OpenPOWER on IntegriCloud