summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_debug.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-03-11 19:45:27 +0000
committerguenther <guenther@openbsd.org>2014-03-11 19:45:27 +0000
commit87f48f4827a9e414651e79922690f65b6bb6e7d1 (patch)
tree63f85c9521871ab641f88e622390618624a58fa4 /sys/netinet/tcp_debug.c
parentFor CA generation, go back to using a two-step procedure to create a CSR and (diff)
downloadwireguard-openbsd-87f48f4827a9e414651e79922690f65b6bb6e7d1.tar.xz
wireguard-openbsd-87f48f4827a9e414651e79922690f65b6bb6e7d1.zip
lint is gone, and the 'lint' conditional was never in the implementation
namespace, so stop changing behavior when it's #defined ok beck@ krw@
Diffstat (limited to 'sys/netinet/tcp_debug.c')
-rw-r--r--sys/netinet/tcp_debug.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/tcp_debug.c b/sys/netinet/tcp_debug.c
index d5e9b3f0468..145cf9c449b 100644
--- a/sys/netinet/tcp_debug.c
+++ b/sys/netinet/tcp_debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_debug.c,v 1.20 2004/09/24 15:02:43 markus Exp $ */
+/* $OpenBSD: tcp_debug.c,v 1.21 2014/03/11 19:45:28 guenther Exp $ */
/* $NetBSD: tcp_debug.c,v 1.10 1996/02/13 23:43:36 christos Exp $ */
/*
@@ -191,11 +191,9 @@ tcp_trace(short act, short ostate, struct tcpcb *tp, caddr_t headers,
printf("@%x, urp=%x", ack, th->th_urp);
flags = th->th_flags;
if (flags) {
-#ifndef lint
char *cp = "<";
#define pf(f) { if (th->th_flags&TH_##f) { printf("%s%s", cp, "f"); cp = ","; } }
pf(SYN); pf(ACK); pf(FIN); pf(RST); pf(PUSH); pf(URG);
-#endif
printf(">");
}
break;