name first in filename
This commit is contained in:
parent
d146b8a66b
commit
c95cb4ce3a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ host=$1
|
||||||
name=$2
|
name=$2
|
||||||
|
|
||||||
now=$(date +%F-%H%M)
|
now=$(date +%F-%H%M)
|
||||||
filename=${now}-${name}-${host}.pcap
|
filename=${name}-${now}-${host}.pcap
|
||||||
intf=${host}-eth0
|
intf=${host}-eth0
|
||||||
|
|
||||||
mx "$host" tcpdump -ni ${intf} -w "${filename}"
|
mx "$host" tcpdump -ni ${intf} -w "${filename}"
|
||||||
|
|
Loading…
Reference in a new issue