I'm trying to get the tshark output (MAC addresses) to a file but the
output of tshark -i eth0 -n port 68 -R 'bootp.type == 2' -o
column.format:'"Source MAC","%hs"' is different from the output of
tshark -i eth0 -n port 68 -R 'bootp.type == 2' -o
column.format:'"Source MAC","%hs"' -w /tmp/mac
In the latter I get number, time, ip -> ip, DHCP, transaction ID - all
of which I don't need. In the former, I only get the MAC address which
I need. Is there any way to dump only the MAC address to an output
file?
Thanks.