http://git.etherboot.org
/
people
/
dverkamp
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0898b0b
)
D'oh
author
Michael Brown
<mcb30@etherboot.org>
Mon, 30 Apr 2007 01:24:52 +0000
(
01:24
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Mon, 30 Apr 2007 01:24:52 +0000
(
01:24
+0000)
src/core/interface.c
patch
|
blob
|
history
diff --git
a/src/core/interface.c
b/src/core/interface.c
index
0f4cd55
..
4c420fd
100644
(file)
--- a/
src/core/interface.c
+++ b/
src/core/interface.c
@@
-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 );
}
/**