diff options
author | Sam Leffler <sam@FreeBSD.org> | 2006-07-09 06:04:01 +0000 |
---|---|---|
committer | Sam Leffler <sam@FreeBSD.org> | 2006-07-09 06:04:01 +0000 |
commit | 6b7330e2d4efaad175df97ceea09059169746b28 (patch) | |
tree | 9d7fca708f49f055d33f7ea0b8387e3b17763e09 /sys/net/if_ppp.c | |
parent | d830256f33e6ac6639eb3ac3d017c6210aa6f542 (diff) |
Notes
Diffstat (limited to 'sys/net/if_ppp.c')
-rw-r--r-- | sys/net/if_ppp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index caea596356e8..5a187c774d18 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -157,7 +157,7 @@ static void ppp_ccp(struct ppp_softc *, struct mbuf *m, int rcvd); static void ppp_ccp_closed(struct ppp_softc *); static void ppp_inproc(struct ppp_softc *, struct mbuf *); static void pppdumpm(struct mbuf *m0); -static int ppp_clone_create(struct if_clone *, int); +static int ppp_clone_create(struct if_clone *, int, caddr_t); static void ppp_clone_destroy(struct ifnet *); IFC_SIMPLE_DECLARE(ppp, 0); @@ -205,7 +205,7 @@ static struct compressor *ppp_compressors[8] = { #endif /* PPP_COMPRESS */ static int -ppp_clone_create(struct if_clone *ifc, int unit) +ppp_clone_create(struct if_clone *ifc, int unit, caddr_t params) { struct ifnet *ifp; struct ppp_softc *sc; @@ -328,7 +328,7 @@ pppalloc(pid) /* Try to clone an interface if we don't have a free one */ if (sc == NULL) { strcpy(tmpname, PPPNAME); - if (if_clone_create(tmpname, sizeof(tmpname)) != 0) + if (if_clone_create(tmpname, sizeof(tmpname), (caddr_t) 0) != 0) return NULL; ifp = ifunit(tmpname); if (ifp == NULL) |