david/ipxe
Archived
1
0
This commit is contained in:
Michael Brown 2007-04-30 01:24:52 +00:00
parent 0898b0b3b1
commit 31f1bf4426

View File

@ -38,9 +38,9 @@
* interface into a null interface.
*/
void plug ( struct interface *intf, struct interface *dest ) {
ref_put ( intf->refcnt );
ref_get ( dest->refcnt );
ref_put ( intf->dest->refcnt );
intf->dest = dest;
ref_get ( intf->dest->refcnt );
}
/**