schweikert / fping

High performance ping tool
https://fping.org
Other
1.01k stars 249 forks source link

Fallback to SO_TIMESTAMP if SO_TIMESTAMPNS is not available #279

Closed gsnw closed 1 year ago

gsnw commented 1 year ago

If the compiler correctly identifies the use of HAVE_SO_TIMESTAMPNS but in runtime SO_TIMESTAMPNS cannot be used, then SO_TIMESTAMP is tried to be used as fallback. Only if this also does not work, an error message is issued for both SO_TIMESTAMPNS and SO_TIMESTAMP.

Fixed Issues #272 and #273

kaspergrubbe commented 1 year ago

Thank you! :)