mirror of
https://github.com/xcat2/xNBA.git
synced 2025-04-15 09:39:26 +00:00
[vlan] Add non-error debug messages
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
7e1b1d6145
commit
f1e1545372
@ -360,6 +360,9 @@ int vlan_create ( struct net_device *trunk, unsigned int tag,
|
||||
/* Synchronise with trunk device */
|
||||
vlan_sync ( netdev );
|
||||
|
||||
DBGC ( netdev, "VLAN %s created with tag %d and priority %d\n",
|
||||
netdev->name, vlan->tag, vlan->priority );
|
||||
|
||||
return 0;
|
||||
|
||||
unregister_netdev ( netdev );
|
||||
@ -389,6 +392,8 @@ int vlan_destroy ( struct net_device *netdev ) {
|
||||
return -ENOTTY;
|
||||
}
|
||||
|
||||
DBGC ( netdev, "VLAN %s destroyed\n", netdev->name );
|
||||
|
||||
/* Remove VLAN device */
|
||||
unregister_netdev ( netdev );
|
||||
trunk = vlan->trunk;
|
||||
|
Loading…
x
Reference in New Issue
Block a user