From: Cameron Katri Date: Fri, 27 Aug 2021 14:55:56 +0000 (-0400) Subject: network_cmds: 606.140.3 X-Git-Url: https://git.cameronkatri.com/apple_cmds.git/commitdiff_plain/342b2c10f8bc1b6db507db4354bc2d2dd9ee7ab1?ds=sidebyside network_cmds: 606.140.3 --- diff --git a/network_cmds/.apple_version b/network_cmds/.apple_version index b2c184d..82631c1 100644 --- a/network_cmds/.apple_version +++ b/network_cmds/.apple_version @@ -1 +1 @@ -606.100.3 +606.140.1 diff --git a/network_cmds/netstat.tproj/main.c b/network_cmds/netstat.tproj/main.c index 1b8381e..0ec2e59 100644 --- a/network_cmds/netstat.tproj/main.c +++ b/network_cmds/netstat.tproj/main.c @@ -595,8 +595,9 @@ name2protox(char *name) /* assert: name not same as p->name */ for (alias = p->p_aliases; *alias; alias++) if (strcmp(name, *alias) == 0) { + tp = knownname(p->p_name); endprotoent(); - return (knownname(p->p_name)); + return tp; } } endprotoent();