Hi, i have a tshark command but it does not work. Basically i use it like that: TSHARK_FILTER="\"port 18581 or port 5060 or (port 16050 and greater 72)\"" tshark -q -n -i any -f $TSHARK_FILTER -b files:100 -b filesize:40000 -w /tmp/test.pcap
I need to use tshark filter as variable, when i run the command i am getting this: tshark: A capture filter was specified both with "-f" and with additional command-line arguments. How can i solve this?