summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki2006-01-17 11:10:53 +0100
committerDavid S. Miller2006-01-17 11:10:53 +0100
commit9343e79a7bb2d3268d68997163608b87d58d8098 (patch)
tree1016bc38ce877e988e26ec644a48e73cc1c1545d /include/linux/kernel.h
parentLinux v2.6.16-rc1 (diff)
downloadkernel-qcow2-linux-9343e79a7bb2d3268d68997163608b87d58d8098.tar.gz
kernel-qcow2-linux-9343e79a7bb2d3268d68997163608b87d58d8098.tar.xz
kernel-qcow2-linux-9343e79a7bb2d3268d68997163608b87d58d8098.zip
[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/linux/kernel.h')
-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) \