From cf3e52d00b7d3fedf98ef7710c337c441270d936 Mon Sep 17 00:00:00 2001 From: Maciej Zenczykowski Date: Mon, 4 Apr 2011 15:31:09 +0200 Subject: xtables_ip6addr_to_numeric: fix typo in comment An IPv6 address consists of eight hexadecimal 16-bit values seperated by colons, or alternatively, six (not five) of these followed by a colon and an IPv4 address in standard dotted decimal quad notation (for IPv4 mapped addresses and the like). Signed-off-by: Maciej Zenczykowski Signed-off-by: Patrick McHardy --- xtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtables.c') diff --git a/xtables.c b/xtables.c index 352963f4..7d367423 100644 --- a/xtables.c +++ b/xtables.c @@ -1336,7 +1336,7 @@ void xtables_ipparse_any(const char *name, struct in_addr **addrpp, const char *xtables_ip6addr_to_numeric(const struct in6_addr *addrp) { - /* 0000:0000:0000:0000:0000:000.000.000.000 + /* 0000:0000:0000:0000:0000:0000:000.000.000.000 * 0000:0000:0000:0000:0000:0000:0000:0000 */ static char buf[50+1]; return inet_ntop(AF_INET6, addrp, buf, sizeof(buf)); -- cgit v1.2.3