tonyseek / openvpn-status

Parse OpenVPN status logs in Python
https://openvpn-status.readthedocs.io
MIT License
83 stars 31 forks source link

TypeError: '<' not supported between instances of 'Client' and 'Client' #18

Open RaghavSaxena96 opened 4 years ago

RaghavSaxena96 commented 4 years ago

OpenVPN CLIENT LIST Updated,Wed Mar 14 12:45:45 2018 Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since client1,103.219.205.61:43261,1275092,1282849,Mon Mar 12 22:38:27 2018 client2,103.219.205.60:43261,1275092,1282849,Mon Mar 12 22:38:24 2018 ROUTING TABLE Virtual Address,Common Name,Real Address,Last Ref 10.8.0.201,client1,103.219.205.61:43261,Mon Mar 12 22:38:27 2018 10.7.0.201,client1,103.219.205.60:43261,Mon Mar 12 22:38:24 2018 GLOBAL STATS Max bcast/mcast queue length,0 END

on parsing it with openvpn-status it leaves this error if number of clients are more than one.

Screenshot from 2020-07-03 10-43-37