mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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:
parent
e6647de754
commit
ae44e695df
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-shared"
|
"--enable-shared"
|
||||||
"--enable-tcpreplay-edit"
|
"--enable-tcpreplay-edit"
|
||||||
"--with-libpcap=${libpcap}"
|
"--with-libpcap=${libpcap}"
|
||||||
"--with-tcpdump=${tcpdump}/bin"
|
"--with-tcpdump=${tcpdump}/bin/tcpdump"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue