diff options
author | 2011-07-09 00:45:40 +0000 | |
---|---|---|
committer | 2011-07-09 00:45:40 +0000 | |
commit | b911906a715f94149c7fa9d82366d0a5ef439a23 (patch) | |
tree | 08f402dfa83d01e47b0c58a9b239a9cc66239967 /usr.bin/netstat/main.c | |
parent | Unbreak most archs for the last commit. cut and paste changed rdsetroot (diff) | |
download | wireguard-openbsd-b911906a715f94149c7fa9d82366d0a5ef439a23.tar.xz wireguard-openbsd-b911906a715f94149c7fa9d82366d0a5ef439a23.zip |
rmove rotten netatalk bits
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index c1e65e4988a..a0c3be357df 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.88 2011/03/15 13:10:31 jsing Exp $ */ +/* $OpenBSD: main.c,v 1.89 2011/07/09 00:45:40 henning Exp $ */ /* $NetBSD: main.c,v 1.9 1996/05/07 02:55:02 thorpej Exp $ */ /* @@ -132,13 +132,8 @@ struct protox ip6protox[] = { { -1, NULL, NULL, NULL } }; -struct protox atalkprotox[] = { - { N_DDPCB, atalkprotopr, ddp_stats, "ddp" }, - { -1, NULL, NULL, NULL } -}; - struct protox *protoprotox[] = { - protox, ip6protox, atalkprotox, NULL + protox, ip6protox, NULL }; static void printproto(struct protox *, char *, int, u_long); @@ -204,8 +199,6 @@ main(int argc, char *argv[]) af = AF_UNIX; else if (strcmp(optarg, "encap") == 0) af = PF_KEY; - else if (strcmp(optarg, "atalk") == 0) - af = AF_APPLETALK; else if (strcmp(optarg, "mpls") == 0) af = AF_MPLS; else if (strcmp(optarg, "pflow") == 0) @@ -429,9 +422,6 @@ main(int argc, char *argv[]) printproto(tp, tp->pr_name, AF_INET6, pcbaddr); if ((af == AF_UNIX || af == AF_UNSPEC) && !sflag) unixpr(nl[N_UNIXSW].n_value, pcbaddr); - if (af == AF_APPLETALK || af == AF_UNSPEC) - for (tp = atalkprotox; tp->pr_name; tp++) - printproto(tp, tp->pr_name, af, pcbaddr); exit(0); } |