From 2adf24aa2ca5f05f16df249a6ee2d8bcb56e8eb1 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 19 Dec 2003 09:34:37 +0000 Subject: Fixed compilation on 64-bit platforms. --- sys/netgraph/ng_pppoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netgraph') 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: -- cgit v1.1