summaryrefslogtreecommitdiff
path: root/sbin/ping6
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2015-09-12 11:52:24 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2015-09-12 11:52:24 +0000
commit49109347bc732df29b07e244539fbf945f94c863 (patch)
tree940d5461bf2652a72e9fe6c995cd76fff471db8c /sbin/ping6
parente1a55a5ff7da81942b9511d5ace0cfeb12ca0dd1 (diff)
typo that breaks the build
Diffstat (limited to 'sbin/ping6')
-rw-r--r--sbin/ping6/ping6.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 1f3bcee3f9e..c39ffd89fca 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.114 2015/09/12 09:44:08 tobias Exp $ */
+/* $OpenBSD: ping6.c,v 1.115 2015/09/12 11:52:23 naddy Exp $ */
/* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */
/*
@@ -1351,7 +1351,8 @@ pr_pack(u_char *buf, int cc, struct msghdr *mhdr)
case NI_QTYPE_FQDN:
default: /* XXX: for backward compatibility */
cp = (u_char *)ni + ICMP6_NIRLEN;
- if (off + ICMP_NIRLEN < cc && buf[off + ICMP6_NIRLEN] ==
+ if (off + ICMP6_NIRLEN < cc &&
+ buf[off + ICMP6_NIRLEN] ==
cc - off - ICMP6_NIRLEN - 1)
oldfqdn = 1;
else