=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/fstat/fstat.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/fstat/fstat.c 1996/08/12 19:45:47 1.5 +++ src/usr.bin/fstat/fstat.c 1996/08/17 09:10:47 1.6 @@ -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 @@ #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 @@ -655,7 +655,7 @@ 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 @@ 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));