summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-27 11:44:24 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-27 11:44:24 +0000
commita31075d29550ef2bd86de398e07f2c38ff7c7288 (patch)
tree72e315a590fb4a1900dfa5d8c15183002e02e61a
parentf088c9c75a9b3f132918d677b8b52eabe493e633 (diff)
Print the DNSSEC OKAY flag as "DO", like in upstream tcpdump
ok florian@
-rw-r--r--usr.sbin/tcpdump/print-domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-domain.c b/usr.sbin/tcpdump/print-domain.c
index f6042cfc60b..cf1f43bc118 100644
--- a/usr.sbin/tcpdump/print-domain.c
+++ b/usr.sbin/tcpdump/print-domain.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-domain.c,v 1.23 2016/03/07 19:33:26 mmcc Exp $ */
+/* $OpenBSD: print-domain.c,v 1.24 2017/02/27 11:44:23 jca Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -526,7 +526,7 @@ ns_rprint(const u_char *cp, const u_char *bp, int is_mdns)
case T_OPT:
printf(" UDPsize=%u", class);
if (opt_flags & 0x8000)
- printf(" OK");
+ printf(" DO");
break;
case T_UNSPECA: /* One long string */