From be7826a24fbbff4048f24bbb6998ca55f6d10c18 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 30 Mar 2016 17:43:39 -0500 Subject: [PATCH] doh --- support-d/utils/pcap-extract.sh | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 support-d/utils/pcap-extract.sh diff --git a/support-d/utils/pcap-extract.sh b/support-d/utils/pcap-extract.sh old mode 100644 new mode 100755 index bd95c654ac..7049476853 --- a/support-d/utils/pcap-extract.sh +++ b/support-d/utils/pcap-extract.sh @@ -5,6 +5,8 @@ shift law=$1 shift +if [ -z $pcap ] ; then echo "usage $0 []"; exit 255 ; fi + if [ -z $law ] ; then law="mu-law" ; fi for ssrc in $(tshark -n -r $pcap -Y rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u) ; do