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,6 +38,8 @@
38 38
  * interface into a null interface.
39 39
  */
40 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 43
 	intf_put ( intf->dest );
42 44
 	intf->dest = intf_get ( dest );
43 45
 }

Loading…
Cancel
Save