Browse Source

[vlan] Add non-error debug messages

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
f1e1545372
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/net/vlan.c

+ 5
- 0
src/net/vlan.c View File

360
 	/* Synchronise with trunk device */
360
 	/* Synchronise with trunk device */
361
 	vlan_sync ( netdev );
361
 	vlan_sync ( netdev );
362
 
362
 
363
+	DBGC ( netdev, "VLAN %s created with tag %d and priority %d\n",
364
+	       netdev->name, vlan->tag, vlan->priority );
365
+
363
 	return 0;
366
 	return 0;
364
 
367
 
365
 	unregister_netdev ( netdev );
368
 	unregister_netdev ( netdev );
389
 		return -ENOTTY;
392
 		return -ENOTTY;
390
 	}
393
 	}
391
 
394
 
395
+	DBGC ( netdev, "VLAN %s destroyed\n", netdev->name );
396
+
392
 	/* Remove VLAN device */
397
 	/* Remove VLAN device */
393
 	unregister_netdev ( netdev );
398
 	unregister_netdev ( netdev );
394
 	trunk = vlan->trunk;
399
 	trunk = vlan->trunk;

Loading…
Cancel
Save