Added option for enabling/disabling IPv6.

This commit is contained in:
Håvard Pettersson
2014-10-11 12:27:31 +02:00
parent 41d6c80de7
commit a10b923ef9
3 changed files with 12 additions and 1 deletions

View File

@ -230,6 +230,8 @@ twc_profile_load(struct t_twc_profile *profile)
TWC_PROFILE_OPTION_INTEGER(profile, TWC_PROFILE_OPTION_PROXY_PORT);
options->udp_disabled =
!TWC_PROFILE_OPTION_BOOLEAN(profile, TWC_PROFILE_OPTION_UDP);
options->ipv6enabled =
TWC_PROFILE_OPTION_BOOLEAN(profile, TWC_PROFILE_OPTION_IPV6);
if (options->proxy_enabled)
{