Fixed compilation on 64-bit platforms.

This commit is contained in:
ru 2003-12-19 09:34:37 +00:00
parent aba7f3424b
commit 2adf24aa2c

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: