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