Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
worker: use get_attr and prevent TypeError
The `WG<XXX>` attributes are no longer present after svinota/pyroute2@3e48554 so .get_attr has to beed used in order to remain compatible with pyroute2 >= 0.5.15. Calling extend on a list with None as argument waill raise a TypeError. This happens when no peers are added yet (e.g. after a fresh boot)
- Loading branch information