sources: regenerate patches for version 4.5.0
This commit is contained in:
parent
561c975245
commit
4d79e3259f
@ -1,6 +1,6 @@
|
|||||||
diff -up tcpdump-4.5.0/addrtoname.c.gethostby tcpdump-4.5.0/addrtoname.c
|
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.gethostby 2013-11-08 09:03:52.166752012 +0100
|
||||||
+++ tcpdump-4.5.0/addrtoname.c 2013-11-08 09:00:43.894765379 +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;
|
@@ -224,7 +224,6 @@ static u_int32_t f_localnet;
|
||||||
const char *
|
const char *
|
||||||
getname(const u_char *ap)
|
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));
|
+ memset(&sa, 0, sizeof (sa));
|
||||||
+ sa.sin6_family = AF_INET6;
|
+ sa.sin6_family = AF_INET6;
|
||||||
+ sa.sin6_addr = addr;
|
+ sa.sin6_addr = addr.addr;
|
||||||
+ if (!getnameinfo((struct sockaddr *)&sa, sizeof (sa),
|
+ if (!getnameinfo((struct sockaddr *)&sa, sizeof (sa),
|
||||||
+ hbuf, sizeof (hbuf), NULL, 0, 0)) {
|
+ hbuf, sizeof (hbuf), NULL, 0, 0)) {
|
||||||
+ if (Nflag) {
|
+ if (Nflag) {
|
Loading…
Reference in New Issue
Block a user