another attempt to not make delegated stall

This commit is contained in:
Arvid Norberg 2013-09-18 09:05:27 +00:00
parent 413f7b00ba
commit dfaddedc6f
1 changed files with 1 additions and 2 deletions

View File

@ -343,8 +343,7 @@ int start_proxy(int proxy_type)
} }
char buf[512]; char buf[512];
// we need to echo n since dg will ask us to configure it snprintf(buf, sizeof(buf), "delegated -P%d ADMIN=test@test.com "
snprintf(buf, sizeof(buf), "echo n | delegated -P%d ADMIN=test@test.com "
"PERMIT=\"*:*:localhost\" REMITTABLE=\"*\" RELAY=proxy,delegate " "PERMIT=\"*:*:localhost\" REMITTABLE=\"*\" RELAY=proxy,delegate "
"SERVER=%s %s &" "SERVER=%s %s &"
, port, type, auth); , port, type, auth);