]> git.gsnw.org Git - fping.git/commitdiff
fix compilation issue
authorDavid Schweikert <david@schweikert.ch>
Thu, 25 Jul 2013 20:29:33 +0000 (22:29 +0200)
committerDavid Schweikert <david@schweikert.ch>
Thu, 25 Jul 2013 20:29:33 +0000 (22:29 +0200)
src/fping.c

index 3a5ce9d0d97da1462132375979b0d14909d94ec3..5a4e1a68431bcb779219f34f6181cd693708b973 100644 (file)
@@ -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() ) )