diff options
author | 2008-10-24 04:44:52 +0000 | |
---|---|---|
committer | 2008-10-24 04:44:52 +0000 | |
commit | a979c2ccb5909c043ff37b78f0fcbdba2f64b42b (patch) | |
tree | a4521b4368c8751b0707057cf1935a87213c5c9e | |
parent | another oops. (diff) | |
download | wireguard-openbsd-a979c2ccb5909c043ff37b78f0fcbdba2f64b42b.tar.xz wireguard-openbsd-a979c2ccb5909c043ff37b78f0fcbdba2f64b42b.zip |
Allow the debug printf code which is trying to retreive the interface
pointer to get at the interface name by pointing to the correct struct.
-rw-r--r-- | sys/net/trunklacp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/trunklacp.c b/sys/net/trunklacp.c index 53bc15d83ff..35216d042d4 100644 --- a/sys/net/trunklacp.c +++ b/sys/net/trunklacp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trunklacp.c,v 1.6 2008/10/15 19:12:18 blambert Exp $ */ +/* $OpenBSD: trunklacp.c,v 1.7 2008/10/24 04:44:52 brad Exp $ */ /* $NetBSD: ieee8023ad_lacp.c,v 1.3 2005/12/11 12:24:54 christos Exp $ */ /* $FreeBSD:ieee8023ad_lacp.c,v 1.15 2008/03/16 19:25:30 thompsa Exp $ */ @@ -1889,7 +1889,7 @@ lacp_dprintf(const struct lacp_port *lp, const char *fmt, ...) va_list va; if (lp) { - printf("%s: ", lp->tp_if->if_xname); + printf("%s: ", lp->lp_ifp->if_xname); } va_start(va, fmt); |