summaryrefslogtreecommitdiff
path: root/sys/net/if_pppx.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-06-20 12:03:41 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-06-20 12:03:41 +0000
commitc15d8852aa3337e78fbcc20cb4a51385e1cba4c0 (patch)
treebd2ecb37c6c503bdb2278f929290f5360d27b611 /sys/net/if_pppx.c
parentbb4310ae8425f0b8f24cd6eeb87a6738fec8777a (diff)
Revert previous and unbreak asr, the new include should be protected.
Reported by naddy@
Diffstat (limited to 'sys/net/if_pppx.c')
-rw-r--r--sys/net/if_pppx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c
index ad58abc3a33..da03b5a98a0 100644
--- a/sys/net/if_pppx.c
+++ b/sys/net/if_pppx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppx.c,v 1.21 2013/06/20 09:38:24 mpi Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.22 2013/06/20 12:03:40 mpi Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
@@ -920,7 +920,7 @@ pppx_add_session(struct pppx_dev *pxd, struct pipex_session_req *req)
ifp->if_xname, error);
ifafree(&ia->ia_ifa);
} else {
- dohooks(&ifp->if_addrhooks, 0);
+ dohooks(ifp->if_addrhooks, 0);
}
splx(s);