Fixed compilation on 64-bit platforms.

This commit is contained in:
Ruslan Ermilov 2003-12-19 09:34:37 +00:00
parent fbd4a38418
commit 9ab65054a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123658

View File

@ -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: