Skip to content

Commit

Permalink
Check for libnet_init in configure.in
Browse files Browse the repository at this point in the history
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 0a51c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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" ])
Expand Down

0 comments on commit 0a51c8b

Please sign in to comment.