(self)
| 57 | self.ipv6_ifaces.clear() |
| 58 | |
| 59 | def resync(self): |
| 60 | # type: () -> None |
| 61 | # TODO : At the moment, resync will drop existing Teredo routes |
| 62 | # if any. Change that ... |
| 63 | self.invalidate_cache() |
| 64 | self.routes = read_routes6() |
| 65 | self.ipv6_ifaces = set() |
| 66 | for route in self.routes: |
| 67 | self.ipv6_ifaces.add(route[3]) |
| 68 | if self.routes == []: |
| 69 | log_loading.info("No IPv6 support in kernel") |
| 70 | |
| 71 | def __repr__(self): |
| 72 | # type: () -> str |
no test coverage detected