From 4d79e3259f884c59baaa229ae36c69daf9e322b7 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Fri, 8 Nov 2013 10:51:42 +0100 Subject: [PATCH] sources: regenerate patches for version 4.5.0 --- ...p-3.9.8-gethostby.patch => tcpdump-4.5.0-gethostby.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename tcpdump-3.9.8-gethostby.patch => tcpdump-4.5.0-gethostby.patch (92%) diff --git a/tcpdump-3.9.8-gethostby.patch b/tcpdump-4.5.0-gethostby.patch similarity index 92% rename from tcpdump-3.9.8-gethostby.patch rename to tcpdump-4.5.0-gethostby.patch index eb4118d..f1cf324 100644 --- a/tcpdump-3.9.8-gethostby.patch +++ b/tcpdump-4.5.0-gethostby.patch @@ -1,6 +1,6 @@ diff -up tcpdump-4.5.0/addrtoname.c.gethostby tcpdump-4.5.0/addrtoname.c ---- tcpdump-4.5.0/addrtoname.c.gethostby 2013-11-08 08:53:50.311792401 +0100 -+++ tcpdump-4.5.0/addrtoname.c 2013-11-08 09:00:43.894765379 +0100 +--- tcpdump-4.5.0/addrtoname.c.gethostby 2013-11-08 09:03:52.166752012 +0100 ++++ tcpdump-4.5.0/addrtoname.c 2013-11-08 09:04:57.792747210 +0100 @@ -224,7 +224,6 @@ static u_int32_t f_localnet; const char * getname(const u_char *ap) @@ -64,7 +64,7 @@ diff -up tcpdump-4.5.0/addrtoname.c.gethostby tcpdump-4.5.0/addrtoname.c + + memset(&sa, 0, sizeof (sa)); + sa.sin6_family = AF_INET6; -+ sa.sin6_addr = addr; ++ sa.sin6_addr = addr.addr; + if (!getnameinfo((struct sockaddr *)&sa, sizeof (sa), + hbuf, sizeof (hbuf), NULL, 0, 0)) { + if (Nflag) {