fix conflict with monitor interfaces created by airmon-ng

This commit is contained in:
strasharo 2016-05-01 17:41:28 +03:00
parent 6da6743d34
commit 0dae82b640
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ function setinterface {
KILLMONITOR=`iwconfig 2>&1 | grep Monitor | awk '{print $1}'` KILLMONITOR=`iwconfig 2>&1 | grep Monitor | awk '{print $1}'`
for monkill in ${KILLMONITOR[@]}; do for monkill in ${KILLMONITOR[@]}; do
./airmon stop $monkill >$flux_output_device airmon-ng stop $monkill >$flux_output_device
echo -n "$monkill, " echo -n "$monkill, "
done done