* [PATCH 1/1] libnetfilter_conntrack: fix dumping IPv6 connections
@ 2005-12-25 7:37 Yasuyuki KOZAKAI
0 siblings, 0 replies; 2+ messages in thread
From: Yasuyuki KOZAKAI @ 2005-12-25 7:37 UTC (permalink / raw)
To: pablo; +Cc: netfilter-devel
[-- Attachment #1: 03-print-ipv6.patch --]
[-- Type: Text/Plain, Size: 1161 bytes --]
[LIBNETFILTER_CONNTRACK] fix dumping IPv6 connections
This fixes the pointer in buffer to store string of destination IPv6 address.
Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
---
commit bba29364ec6e748f13d3716b4ac6a106129db77b
tree 408da04573587211aba8daecba4bfeaf5ca22d3a
parent 0e9369e5c20fb9fe185ec792a75d65909faa8bb5
author Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Sat, 24 Dec 2005 04:56:19 +0900
committer Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Sat, 24 Dec 2005 04:56:19 +0900
l3extensions/libnetfilter_conntrack_ipv6.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/l3extensions/libnetfilter_conntrack_ipv6.c b/l3extensions/libnetfilter_conntrack_ipv6.c
index a2a694f..023a5af 100644
--- a/l3extensions/libnetfilter_conntrack_ipv6.c
+++ b/l3extensions/libnetfilter_conntrack_ipv6.c
@@ -50,7 +50,7 @@ static int print_proto(char *buf, struct
inet_ntop(AF_INET6, &src, tmp, sizeof(tmp));
size = sprintf(buf, "src=%s ", tmp);
inet_ntop(AF_INET6, &dst, tmp, sizeof(tmp));
- size += sprintf(buf, "dst=%s ", tmp);
+ size += sprintf(buf + size, "dst=%s ", tmp);
return size;
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-26 3:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200512250737.jBP7b2Lg011139@toshiba.co.jp>
2005-12-26 3:07 ` [PATCH 1/1] libnetfilter_conntrack: fix dumping IPv6 connections Pablo Neira Ayuso
2005-12-25 7:37 Yasuyuki KOZAKAI
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.