On 29/06/15 10:15 AM, Juha Heinanen wrote:
Richard Fuchs writes:
Good idea. I'm not sure how well this is supported on other (non-Linux) Unixes, so it might be advisable to enclose this in #ifdefs.
thanks for your response. i'll can enclose the code within
#ifdef __OS_linux #endif
It's not entirely Linux-specific, at least FreeBSD also supports it. #ifdef IP_MTU_DISCOVER should probably be sufficient.
Cheers