ip_output.c.diff

nick, 03/02/2009 12:38 PM

Download (344 Bytes)

View differences:

ip_output.c 2009-03-02 12:30:34.000000000 +0000
1401 1401
				inp->inp_ip_ttl = optval;
1402 1402
				break;
1403 1403
			case IP_MINTTL:
1404
				if (optval > 0 && optval <= MAXTTL)
1404
				if (optval >= 0 && optval <= MAXTTL)
1405 1405
					inp->inp_ip_minttl = optval;
1406 1406
				else
1407 1407
					error = EINVAL;