Browse Source

Add debugging

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
b63b14ff32
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/core/interface.c

+ 2
- 0
src/core/interface.c View File

38
  * interface into a null interface.
38
  * interface into a null interface.
39
  */
39
  */
40
 void plug ( struct interface *intf, struct interface *dest ) {
40
 void plug ( struct interface *intf, struct interface *dest ) {
41
+	DBGC ( intf, "INTF %p moving from INTF %p to INTF %p\n",
42
+	       intf, intf->dest, dest );
41
 	intf_put ( intf->dest );
43
 	intf_put ( intf->dest );
42
 	intf->dest = intf_get ( dest );
44
 	intf->dest = intf_get ( dest );
43
 }
45
 }

Loading…
Cancel
Save