Use int type for setsockopt IP_TOS value
authorEd Maste <emaste@freebsd.org>
Mon, 30 Jul 2012 22:29:40 +0000 (15:29 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 30 Jul 2012 22:31:38 +0000 (15:31 -0700)
commiteb0cb3161f52bfb8360e48af6a869ba3a5f06add
tree0d5c61d63a1085d81a4d546892b3330cf7f4bfdd
parentbbd1c2c5f5785bd58943afc81fb059b473ab0027
Use int type for setsockopt IP_TOS value

FreeBSD requires that setsockopt(..., IP_TOS, ...) be passed an int
value.  Linux accepts either int or char types (and has since at least
kernel 2.6.12) so just use int type unconditionally.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/socket-util.c