diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2016-09-17 21:30:03 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2016-09-17 21:30:03 +0000 |
commit | 12d2dd2ba97cc71ac833c48c1b46e1de4a74e436 (patch) | |
tree | b5611d54b144f39b3f61cb838af06fb4f41223ca | |
parent | 5e868db98e005d5f15207e74b5a516610710b6cb (diff) |
backwards if(v6flag); pointed out by naddy
-rw-r--r-- | sbin/ping/ping.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 8514da0f0e0..92957072c82 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping.c,v 1.206 2016/09/17 14:58:42 florian Exp $ */ +/* $OpenBSD: ping.c,v 1.207 2016/09/17 21:30:02 florian Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -938,9 +938,9 @@ void summary(void) { if (v6flag) - printf("\n--- %s ping statistics ---\n", hostname); - else printf("\n--- %s ping6 statistics ---\n", hostname); + else + printf("\n--- %s ping statistics ---\n", hostname); printf("%lld packets transmitted, ", ntransmitted); printf("%lld packets received, ", nreceived); |