X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=cmdline.c;h=f288ed629ee837272998ec554cb45e3bbfbc3552;hb=92d855d0fe9b327f3881170d7663bcc5ec8f8d20;hp=e6b69073a2e236a3121e9649d07657e42bacd2af;hpb=e65e5d165fc2935fcc4bece20dddce485316042f;p=PuTTY.git diff --git a/cmdline.c b/cmdline.c index e6b69073..f288ed62 100644 --- a/cmdline.c +++ b/cmdline.c @@ -609,6 +609,18 @@ int cmdline_process_param(const char *p, char *value, conf_set_str(conf, CONF_proxy_telnet_command, value); } +#ifdef _WINDOWS + /* + * Cross-tool options only available on Windows. + */ + if (!strcmp(p, "-restrict-acl") || !strcmp(p, "-restrict_acl") || + !strcmp(p, "-restrictacl")) { + RETURN(1); + restrict_process_acl(); + restricted_acl = TRUE; + } +#endif + return ret; /* unrecognised */ }