Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ntp-ntpd: Fixed unpacking of ntpq -p values (#758)
When the chosen ntp Server (maked by *) has one or more whitespaces in its name, the original parsing fails with too many values to unpack. Example: '*185.232.69.65 ( 79.133.44.146 2 u 139 256 377 0.401 0.133 0.137' peer, refid, stratum, _type, when, poll, reach, delay, offset, jitter = line[1:].split() ValueError: too many values to unpack (expected 10)
- Loading branch information