mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-12 14:51:54 +00:00
miracle-wfdctl: save captured packets to .pcap file instead of print out
on console
This commit is contained in:
parent
a2e16ff348
commit
714f5a3ea9
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,6 +6,7 @@
|
|||
*.swp
|
||||
*.tar.xz
|
||||
*.trs
|
||||
*.pcap
|
||||
.deps/
|
||||
.dirstamp
|
||||
.libs/
|
||||
|
|
|
@ -192,7 +192,7 @@ get_prop org.freedesktop.miracle.wifi \
|
|||
/org/freedesktop/miracle/wifi/peer/$peer_id \
|
||||
org.freedesktop.miracle.wifi.Peer \
|
||||
Interface p2p_iface
|
||||
tshark -i $p2p_iface -w miraclecast.pcap &
|
||||
sudo tcpdump -i $p2p_iface -w miraclecast.pcap -T rtp &
|
||||
cleanup_push "kill $!"
|
||||
|
||||
while [[ -z "$nocheck" ]] && ! killall -0 miracle-wfdctl &>/dev/null; do
|
||||
|
|
Loading…
Reference in a new issue