summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-01-17 13:10:53 +0300
committerDavid S. Miller <davem@davemloft.net>2006-01-17 13:10:53 +0300
commit9343e79a7bb2d3268d68997163608b87d58d8098 (patch)
tree1016bc38ce877e988e26ec644a48e73cc1c1545d /include
parent2664b25051f7ab96b22b199aa2f5ef6a949a4296 (diff)
downloadlinux-9343e79a7bb2d3268d68997163608b87d58d8098.tar.xz
[IPV6]: Preserve procfs IPV6 address output format
Procfs always output IPV6 addresses without the colon characters, and we cannot change that. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 323924edb26a..a5363324cf95 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -228,6 +228,7 @@ extern void dump_stack(void);
ntohs((addr).s6_addr16[6]), \
ntohs((addr).s6_addr16[7])
#define NIP6_FMT "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x"
+#define NIP6_SEQFMT "%04x%04x%04x%04x%04x%04x%04x%04x"
#if defined(__LITTLE_ENDIAN)
#define HIPQUAD(addr) \