mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
D'oh
This commit is contained in:
@@ -38,9 +38,9 @@
|
|||||||
* interface into a null interface.
|
* interface into a null interface.
|
||||||
*/
|
*/
|
||||||
void plug ( struct interface *intf, struct interface *dest ) {
|
void plug ( struct interface *intf, struct interface *dest ) {
|
||||||
ref_put ( intf->refcnt );
|
ref_put ( intf->dest->refcnt );
|
||||||
ref_get ( dest->refcnt );
|
|
||||||
intf->dest = dest;
|
intf->dest = dest;
|
||||||
|
ref_get ( intf->dest->refcnt );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user