[tcpdump-workers] [PATCH 2/3] With -C option drop root before opening first savefile.

2009-08-13 Thread Miroslav Lichvar
This is to avoid having savefiles with different ownership and to avoid terminating tcpdump with permission denied error when opening second savefile. --- tcpdump.1.in |4 tcpdump.c|7 ++- 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/tcpdump.1.in b/tcpdump.1

[tcpdump-workers] [PATCH 3/3] Convert port numbers to service names unless -nn is used.

2009-08-13 Thread Miroslav Lichvar
--- addrtoname.c |4 ++-- tcpdump.1.in |6 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/addrtoname.c b/addrtoname.c index 593840c..59ee47a 100644 --- a/addrtoname.c +++ b/addrtoname.c @@ -736,7 +736,7 @@ init_servarray(void) while (table->name)

[tcpdump-workers] [PATCH 1/3] Add getnameinfo support to getname and getname6.

2009-08-13 Thread Miroslav Lichvar
--- addrtoname.c | 44 1 files changed, 36 insertions(+), 8 deletions(-) diff --git a/addrtoname.c b/addrtoname.c index e67d114..593840c 100644 --- a/addrtoname.c +++ b/addrtoname.c @@ -224,7 +224,6 @@ static u_int32_t f_localnet; const char * getn