artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d9325c
)
Do not dereference ``ifa_ifp'' when we already have an ``ifp'' pointer.
author
mpi
<mpi@openbsd.org>
Thu, 22 Oct 2015 10:46:26 +0000
(10:46 +0000)
committer
mpi
<mpi@openbsd.org>
Thu, 22 Oct 2015 10:46:26 +0000
(10:46 +0000)
sys/net/if.c
patch
|
blob
|
history
diff --git
a/sys/net/if.c
b/sys/net/if.c
index
23f79b0
..
7ea0265
100644
(file)
--- a/
sys/net/if.c
+++ b/
sys/net/if.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if.c,v 1.3
89 2015/10/12 13:17:58 dlg
Exp $ */
+/* $OpenBSD: if.c,v 1.3
90 2015/10/22 10:46:26 mpi
Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@
-2527,7
+2527,7
@@
ifa_print_all(void)
break;
#endif
}
- printf(" on %s\n", if
a->ifa_if
p->if_xname);
+ printf(" on %s\n", ifp->if_xname);
}
}
}