]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
network_cmds: 606.140.3 apple
authorCameron Katri <me@cameronkatri.com>
Fri, 27 Aug 2021 14:55:56 +0000 (10:55 -0400)
committerCameron Katri <me@cameronkatri.com>
Fri, 27 Aug 2021 14:55:56 +0000 (10:55 -0400)
network_cmds/.apple_version
network_cmds/netstat.tproj/main.c

index b2c184d7f17d1248bc17bd4a8fa2408efcba4df6..82631c16db12d6971a647a9ccbdefdd1c3c07164 100644 (file)
@@ -1 +1 @@
-606.100.3
+606.140.1
index 1b8381e39d88babf2bd0bf22c6c3b139e842b854..0ec2e59aff0b003b6b02d9dc6100348ad55d5096 100644 (file)
@@ -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();