瀏覽代碼

Add debugging

tags/v0.9.3
Michael Brown 17 年之前
父節點
當前提交
b63b14ff32
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/core/interface.c

+ 2
- 0
src/core/interface.c 查看文件

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…
取消
儲存