From: David Schweikert Date: Thu, 25 Jul 2013 20:29:33 +0000 (+0200) Subject: fix compilation issue X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aad0b2c14676c4163c5f58ce36728ed1d986c81;p=fping.git fix compilation issue --- diff --git a/src/fping.c b/src/fping.c index 3a5ce9d..5a4e1a6 100644 --- a/src/fping.c +++ b/src/fping.c @@ -458,6 +458,7 @@ int main( int argc, char **argv ) if (setsockopt(s, IPPROTO_IPV6, IPV6_HOPLIMIT, &opton, sizeof(opton))) err(1, "setsockopt(IPV6_HOPLIMIT)"); +#endif #endif if( ( uid = getuid() ) )