diff options
author | z3bra <contactatz3bradotorg> | 2016-11-02 13:54:01 +0100 |
---|---|---|
committer | z3bra <contactatz3bradotorg> | 2016-11-08 16:47:51 +0100 |
commit | 689dce5943127edb935a07ec0536a325a3cc0e05 (patch) | |
tree | c1ac358bbdfec7be5443d7dcdd78f8f027e24074 /ratox.c | |
parent | 46ced3f7d2ca197b255fd97cf9f7cb576784edc0 (diff) |
Update Tox_Options fields name
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1178,13 +1178,13 @@ localinit(void) static int toxinit(void) { - toxopt.ipv6enabled = ipv6; - toxopt.udp_disabled = tcp; + toxopt.ipv6_enabled = ipv6; + toxopt.udp_enabled = !tcp; if (proxy) { tcp = 1; - toxopt.udp_disabled = tcp; + toxopt.udp_enabled = !tcp; logmsg("Net > Forcing TCP mode\n"); - snprintf(toxopt.proxy_address, sizeof(toxopt.proxy_address), + snprintf(toxopt.proxy_host, sizeof(toxopt.proxy_host), "%s", proxyaddr); toxopt.proxy_port = proxyport; toxopt.proxy_type = proxytype; |