MCPcopy Index your code
hub / github.com/secdev/scapy / resync

Method resync

scapy/route.py:43–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self.cache = {} # type: Dict[Tuple[str, Optional[str]], Tuple[str, str, str]]
42
43 def resync(self):
44 # type: () -> None
45 from scapy.arch import read_routes
46 self.invalidate_cache()
47 self.routes = read_routes()
48
49 def __repr__(self):
50 # type: () -> str

Callers 1

__init__Method · 0.95

Calls 2

invalidate_cacheMethod · 0.95
read_routesFunction · 0.90

Tested by

no test coverage detected