mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-18 03:25:31 +00:00
Allow -u root with pf proxyspecs on OS X
This commit is contained in:
parent
f076336e0b
commit
ab466aafb7
3
main.c
3
main.c
@ -597,7 +597,8 @@ main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
#ifdef __APPLE__
|
||||
if (opts->dropuser && nat_used("pf")) {
|
||||
if (opts->dropuser && !!strcmp(opts->dropuser, "root") &&
|
||||
nat_used("pf")) {
|
||||
fprintf(stderr, "%s: cannot use 'pf' proxyspec with -u due "
|
||||
"to Apple bug\n", argv0);
|
||||
exit(EXIT_FAILURE);
|
||||
|
Loading…
Reference in New Issue
Block a user