Added -s 0 so tcpdump doesn't truncate packets (#28)

pull/31/head
Christopher Hopkins 2018-03-04 18:37:12 -07:00 committed by Sebastian Kinne
parent 261fb62b10
commit 5243fe675b
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ function run() {
sleep 5
# Start tcpdump on the bridge interface
tcpdump -i br-lan -w /mnt/loot/tcpdump/dump_$(date +%Y-%m-%d-%H%M%S).pcap &>/dev/null &
tcpdump -i br-lan -s 0 -w /mnt/loot/tcpdump/dump_$(date +%Y-%m-%d-%H%M%S).pcap &>/dev/null &
tpid=$!
# Wait for button to be pressed (disable button LED)