diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2004-06-24 12:32:41 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2004-06-24 12:32:41 +0000 |
commit | b46f884b807317b6e258c0d7fbb17c166daaee4a (patch) | |
tree | 11a7c15b2bbff671567e3e33249ab06a2f638c37 | |
parent | cd0cd0149b9927f1cd800d7289c0514216805a9f (diff) |
Add a couple of #ifdef DEBUG printf()s in vlan_input() I found to be
useful when debugging the ether_demux() problem (when bridging over
VLANs).
Notes
Notes:
svn path=/head/; revision=131050
-rw-r--r-- | sys/net/if_vlan.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 9449dec2ac40..98961e7c390c 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) { /* |