From e516980de2a4f6a7aee9af5384f92fe88376e7e4 Mon Sep 17 00:00:00 2001 From: abs Date: Wed, 6 Jan 1999 05:57:29 +0000 Subject: [PATCH] Apply (slightly modified) patch from 5543 to fix -s behaviour for netatalk. --- usr.bin/netstat/atalk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/netstat/atalk.c b/usr.bin/netstat/atalk.c index 5800c24c0546..1f281d6e520c 100644 --- a/usr.bin/netstat/atalk.c +++ b/usr.bin/netstat/atalk.c @@ -1,4 +1,4 @@ -/* $NetBSD: atalk.c,v 1.4 1998/07/12 03:20:13 mrg Exp $ */ +/* $NetBSD: atalk.c,v 1.5 1999/01/06 05:57:29 abs Exp $ */ /* * Copyright (c) 1983, 1988, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "from @(#)atalk.c 1.1 (Whistle) 6/6/96"; #else -__RCSID("$NetBSD: atalk.c,v 1.4 1998/07/12 03:20:13 mrg Exp $"); +__RCSID("$NetBSD: atalk.c,v 1.5 1999/01/06 05:57:29 abs Exp $"); #endif #endif /* not lint */ @@ -285,7 +285,7 @@ atalkprotopr(off, name) } } #define ANY(x,y,z) \ - ((x) ? printf("\t%ld %s%s%s\n",x,y,plural(x),z) : 0) + ((sflag==1 || (x)) ? printf("\t%ld %s%s%s\n",x,y,plural(x),z) : 0) /* * Dump DDP statistics structure.