diff options
author | Maciej Zenczykowski <maze@google.com> | 2011-04-04 15:31:09 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-04-04 15:31:09 +0200 |
commit | cf3e52d00b7d3fedf98ef7710c337c441270d936 (patch) | |
tree | 049ff440c76eb71bb5f16130c6c2d8e2e25102a2 /xtables.c | |
parent | a239728ec064666025de2723997d87b176d57fd6 (diff) |
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 <maze@google.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'xtables.c')
-rw-r--r-- | xtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |