diff options
author | 1996-08-17 09:10:47 +0000 | |
---|---|---|
committer | 1996-08-17 09:10:47 +0000 | |
commit | b35df11e55b0d44eb14745a24a86b9590af30e82 (patch) | |
tree | bc00fad90d8235f3fdea8edd919304e3a119d390 | |
parent | Don't increment sc_errors right after calling wdcunwedge(). (diff) | |
download | wireguard-openbsd-b35df11e55b0d44eb14745a24a86b9590af30e82.tar.xz wireguard-openbsd-b35df11e55b0d44eb14745a24a86b9590af30e82.zip |
<->
-rw-r--r-- | usr.bin/fstat/fstat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 79d47eef412..af5f38c4df4 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.5 1996/08/12 19:45:47 deraadt Exp $ */ +/* $OpenBSD: fstat.c,v 1.6 1996/08/17 09:10:47 deraadt Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -41,7 +41,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)fstat.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$OpenBSD: fstat.c,v 1.5 1996/08/12 19:45:47 deraadt Exp $"; +static char *rcsid = "$OpenBSD: fstat.c,v 1.6 1996/08/17 09:10:47 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -655,7 +655,7 @@ socktrans(sock, i) inet_ntoa(inpcb.inp_laddr), ntohs(inpcb.inp_lport)); if (inpcb.inp_fport) - printf(" -> %s:%d", + printf(" <-> %s:%d", inpcb.inp_faddr.s_addr == INADDR_ANY ? "*" : inet_ntoa(inpcb.inp_faddr), ntohs(inpcb.inp_fport)); @@ -673,7 +673,7 @@ socktrans(sock, i) inet_ntoa(inpcb.inp_laddr), ntohs(inpcb.inp_lport)); if (inpcb.inp_fport) - printf(" -> %s:%d", + printf(" <-> %s:%d", inpcb.inp_faddr.s_addr == INADDR_ANY ? "*" : inet_ntoa(inpcb.inp_faddr), ntohs(inpcb.inp_fport)); |