I'm writing a program that parses tcpdump output files. I have a tab delimited text file that contains MAC addresses and hostnames.
How can I have the program search this file for a MAC address and then return the corresponding hostname?
Any help would be appreciated.
Thanks.