On Sun, Nov 23, 2003 at 01:55:16PM -0600, alex medvedev wrote: > why do we need to call init_addrtoname() function in tcpdump.c?
Because, otherwise, the hash tables used to look up the values in the tables aren't constructed, and the "f_localnet" and "f_netmask" global variables used for the "-f" flag aren't initialized. > what happens if we don't call it? :) The same thing that happens if you run tcpdump with "-n", except that the "-f" flag won't work correctly if you don't call "init_addrtoname()". What problem is caused by calling it? - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]
