diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-20 06:24:50 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-20 06:24:50 +0000 |
commit | dfc70466db0227e3fa9db7670c13c53ffd7d510a (patch) | |
tree | a9e64051db897bcf36434b82f3d5981ab244305d /usr.bin | |
parent | d7238dbe31c3e9effdae107632b27dae8397e00a (diff) |
Oops, forgot ports/protocol numbers.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/route.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c index 39d2126735f..793a549cba2 100644 --- a/usr.bin/netstat/route.c +++ b/usr.bin/netstat/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.31 1999/12/20 06:17:20 angelos Exp $ */ +/* $OpenBSD: route.c,v 1.32 1999/12/20 06:24:49 angelos Exp $ */ /* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94"; #else -static char *rcsid = "$OpenBSD: route.c,v 1.31 1999/12/20 06:17:20 angelos Exp $"; +static char *rcsid = "$OpenBSD: route.c,v 1.32 1999/12/20 06:24:49 angelos Exp $"; #endif #endif /* not lint */ @@ -1003,7 +1003,7 @@ encap_print(rt) bcopy(&sen2.sen_ip6_src, &s62.sin6_addr, sizeof(struct in6_addr)); printf("%-42s %-5u ", netname6(&s61, &s62.sin6_addr), - sen1.sen_sport); + sen1.sen_ip6_sport); bzero(&s61, sizeof(s61)); bzero(&s62, sizeof(s62)); @@ -1013,7 +1013,7 @@ encap_print(rt) bcopy(&sen2.sen_ip6_dst, &s62.sin6_addr, sizeof(struct in6_addr)); printf("%-42s %-5u %-5u ", netname6(&s61, &s62.sin6_addr), - sen1.sen_dport, sen1.sen_proto); + sen1.sen_ip6_dport, sen1.sen_ip6_proto); } #endif /* INET6 */ |