tcpreplay: fix path to tcpdump
Without this change, running tcpreplay with -v results in:
Fatal Error: Unable to exec tcpdump: Permission denied
The reason is that tcpreplay tries to execute exactly the path passed
via the --with-tcpdump configure switch.
This commit is contained in:
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
"--enable-shared"
|
||||
"--enable-tcpreplay-edit"
|
||||
"--with-libpcap=${libpcap}"
|
||||
"--with-tcpdump=${tcpdump}/bin"
|
||||
"--with-tcpdump=${tcpdump}/bin/tcpdump"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user