setsockopt() doesn't throw error while setting IP_TTL set to 0 on RHEL6

Mike Frysinger
Mon Jan 7 17:29:00 GMT 2013

On Monday 07 January 2013 06:58:48 nitin padalia wrote:
> While setting IP_TTL's optval to 0 using setsockopt() then function
> doesn't throw any error anymore and sets the TTL value to 0. However
> in previous release it used to throw error.
> This causes problem on the behavior of client application. I've tested
> with ping utility and I could able to set TTL value to 0.

pretty sure this is a kernel issue, not glibc.  you might want to try e-
mailing the netdev list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Libc-help mailing list