HomeFreeBSD

In ipfw2, avoid left-shifting negative integers, which is undefined.

Description

In ipfw2, avoid left-shifting negative integers, which is undefined.
While here, make some other arguments to htonl(3) unsigned too.

MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS286701: If a specific timecounter has been chosen via sysctl, and a new timecounter
Branches
Unknown
Tags
Unknown