summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_pppoe.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-12-19 09:34:37 +0000
committerru <ru@FreeBSD.org>2003-12-19 09:34:37 +0000
commit2adf24aa2ca5f05f16df249a6ee2d8bcb56e8eb1 (patch)
tree1f8031781b92ccab9be0cc2df29d138c3b50efe6 /sys/netgraph/ng_pppoe.c
parentaba7f3424b99e0992121cf71cd1b6d861a18a621 (diff)
downloadFreeBSD-src-2adf24aa2ca5f05f16df249a6ee2d8bcb56e8eb1.zip
FreeBSD-src-2adf24aa2ca5f05f16df249a6ee2d8bcb56e8eb1.tar.gz
Fixed compilation on 64-bit platforms.
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r--sys/netgraph/ng_pppoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c
index faa7549..062ab31 100644
--- a/sys/netgraph/ng_pppoe.c
+++ b/sys/netgraph/ng_pppoe.c
@@ -1003,13 +1003,13 @@ AAA
log(LOG_NOTICE,
"Switched to nonstandard PPPoE mode due to "
"packet from %*D\n",
- sizeof(wh->eh.ether_shost),
+ ETHER_ADDR_LEN,
wh->eh.ether_shost, ":");
} else if (pppoe_mode == PPPOE_KEEPSTANDARD)
log(LOG_NOTICE,
"Ignored nonstandard PPPoE packet "
"from %*D\n",
- sizeof(wh->eh.ether_shost),
+ ETHER_ADDR_LEN,
wh->eh.ether_shost, ":");
/* fall through */
case ETHERTYPE_PPPOE_DISC:
OpenPOWER on IntegriCloud