caddr_t fallout (only visible with options PPPOE_SERVER)
This commit is contained in:
parent
89f52265ce
commit
de3603e82a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_pppoe.c,v 1.77 2007/03/04 06:03:16 christos Exp $ */
|
||||
/* $NetBSD: if_pppoe.c,v 1.78 2007/03/31 11:00:23 martin Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.77 2007/03/04 06:03:16 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.78 2007/03/31 11:00:23 martin Exp $");
|
||||
|
||||
#include "pppoe.h"
|
||||
#include "bpfilter.h"
|
||||
|
@ -512,7 +512,7 @@ pppoe_dispatch_disc_pkt(struct mbuf *m, int off)
|
|||
break;
|
||||
}
|
||||
#ifdef PPPOE_SERVER
|
||||
hunique = mtod(n, void *) + noff;
|
||||
hunique = mtod(n, u_int8_t *) + noff;
|
||||
hunique_len = len;
|
||||
#endif
|
||||
sc = pppoe_find_softc_by_hunique(mtod(n, char *) + noff,
|
||||
|
|
Loading…
Reference in New Issue