ipfw: Avoid left-shifting negative integers.
authorzrj <rimvydas.jasinskas@gmail.com>
Tue, 23 Jan 2018 18:11:47 +0000 (20:11 +0200)
committerzrj <zrj@dragonflybsd.org>
Tue, 23 Jan 2018 18:34:25 +0000 (20:34 +0200)
commit01a62b0de7be85c6e73289e77339b39f94c657e0
tree32e7cf891309cc979cbc758a96d28f15fb76e945
parent5c4f64399bd8e60c755b835817ff49d1d8231172
ipfw: Avoid left-shifting negative integers.

It is undefined behaviour.

While there, mark one fallthrough case.
sbin/ipfw/ipfw2.c