blob: 54fde3822111b146b5e0350e03f311cb9234b20d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- ./kernel/conn.c.orig
+++ ./kernel/conn.c
@@ -86,7 +86,7 @@
switch (sk->sk_family) {
case AF_INET:
snprintf(buf, sizeof(buf),
- "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->daddr));
+ "%u.%u.%u.%u", NIPQUAD(inet_sk(sk)->inet_daddr));
break;
case AF_INET6:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29)
|