On Sat, Jul 01, 2017 at 08:50:36PM +0200, Sebastian Benoit wrote:
> Sebastian Benoit([email protected]) on 2017.07.01 20:40:17 +0200:
> 
> oks for this?
> 
>       /* filter listening sockets out unless -a is set */
> -     if (!aflag && istcp && kf->t_state <= TCPS_LISTEN)
> +     if (!(aflag || lflag) && istcp && kf->t_state <= TCPS_LISTEN)
> +             return;
> +     else if (!(aflag||lflag) && isany)

formatting: (aflag||lflag) -> (aflag || lflag)

> +++ usr.bin/netstat/netstat.1
> @@ -38,7 +38,7 @@
>  .Nd show network status
>  .Sh SYNOPSIS
>  .Nm netstat
> -.Op Fl AaBn
> +.Op Fl AaBln

Shouldn't 'v' be added to 'AaBln' too?

Other than that, ok!

Kind regards,

Job

Reply via email to