Permalink
Browse files

Check for libnet_init in configure.in

libnet_init_packet was the old libnet 1.0 function which is now long
deprecated.
  • Loading branch information...
rfrancoise committed Jan 1, 2018
1 parent b8b1e97 commit 0a51c8bc62c7b49b8d67a360daa6b1957256f4f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure.in
View
@@ -174,7 +174,7 @@ dnl
AC_ARG_ENABLE(tcpkill,
[ --enable-tcpkill enable connection killing support (default off)],
[
AC_CHECK_LIB(net, libnet_init_packet,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
AC_CHECK_LIB(net, libnet_init,,echo !!! error: tcpkill feature enabled but no libnet found; exit)
use_tcpkill="$enableval"
],
[ use_tcpkill="no" ])

0 comments on commit 0a51c8b

Please sign in to comment.