]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r286702:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Sep 2015 22:18:36 +0000 (22:18 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 22 Sep 2015 22:18:36 +0000 (22:18 +0000)
commit93f4cf026aced8afc9797a97098b322dc2881615
treebc690d9284cc4271ab0cd72aa94e5ab0120e53a2
parent0bdeb89e335884da85ca63834f2f4a99c2c36bcc
MFC r286702:

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@288134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/ipfw/ipfw2.c