Skip to content

Commit afbf0e8

Browse files
committed
Limit block-outside-dns to Windows
1 parent 6d26b75 commit afbf0e8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

addon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="service.vpn.manager"
33
name="VPN Manager for OpenVPN"
4-
version="1.8.1"
4+
version="1.8.2"
55
provider-name="Zomboided">
66
<requires>
77
<import addon="xbmc.python" version="2.7.0"/>

libs/vpnproviders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def generateOVPNFiles(vpn_provider, alternative_locations_name):
313313
errorTrace("vpnproviders.py", "Couldn't open the template file for " + vpn_provider)
314314
return False
315315

316-
if addon.getSetting("block_outside_dns") == "true":
316+
if getPlatform() == platforms.WINDOWS and addon.getSetting("block_outside_dns") == "true":
317317
template.append("block-outside-dns")
318318

319319
# Load locations file

libs/vpnproviders.pyo

33 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)