mirror of https://github.com/ipxe/ipxe.git
D'oh
parent
0898b0b3b1
commit
31f1bf4426
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue