You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
with OpenVpn 2.5.8 the field "Last Ping" show Unknown. Seems that the new version put an "@0" at the end of the mac_address... I resolve it by modify the is_mac_address(s) function in the openvpn-monitor.py file as show below:
ORIGINAL:
@staticmethod
def is_mac_address(s):
return len(s) == 17 and \
len(s.split(':')) == 6 and \
all(c in string.hexdigits for c in s.replace(':', ''))
MODIFIED:
@staticmethod
def is_mac_address(stringa):
s=stringa.split("@")[0]
return len(s) == 17 and \
len(s.split(':')) == 6 and \
all(c in string.hexdigits for c in s.replace(':', ''))
The text was updated successfully, but these errors were encountered:
Hi,
with OpenVpn 2.5.8 the field "Last Ping" show Unknown. Seems that the new version put an "@0" at the end of the mac_address... I resolve it by modify the is_mac_address(s) function in the openvpn-monitor.py file as show below:
ORIGINAL:
MODIFIED:
The text was updated successfully, but these errors were encountered: