fixed device name

This commit is contained in:
Sheppy
2018-04-26 14:10:48 +02:00
parent dd7ae53aea
commit 2d7da5c0d9

View File

@@ -147,7 +147,7 @@ def pr_acct_status():
def vpn_status():
if not hl_utils.is_cip():
out_vpn = hl_utils.shexec("ip r g 8.8.8.8").split("\n")[0]
if "dev tun0" in out_vpn:
if "dev cip_tun" in out_vpn:
out_vpn = hl_utils.color_panel("VPN: In Use",GREEN)
else:
out_vpn = hl_utils.color_panel("VPN: Link Down",RED)