Fixed compilation on 64-bit platforms.
This commit is contained in:
parent
fbd4a38418
commit
9ab65054a7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123658
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user