summaryrefslogtreecommitdiffstats
path: root/sys/net/if_spppfr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_spppfr.c')
-rw-r--r--sys/net/if_spppfr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_spppfr.c b/sys/net/if_spppfr.c
index 7989df9..ae4f959 100644
--- a/sys/net/if_spppfr.c
+++ b/sys/net/if_spppfr.c
@@ -159,7 +159,7 @@ struct arp_req {
/* almost every function needs these */
#define STDDCL \
- struct ifnet *ifp = &sp->pp_if; \
+ struct ifnet *ifp = SP2IFP(sp); \
int debug = ifp->if_flags & IFF_DEBUG
static void sppp_fr_arp (struct sppp *sp, struct arp_req *req, u_short addr);
OpenPOWER on IntegriCloud