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

Method load_confiface

scapy/interfaces.py:237–245  ·  view source on GitHub ↗

Reload conf.iface

(self)

Source from the content-addressed store, hash-verified

235 self._load(prov.reload(), prov)
236
237 def load_confiface(self):
238 # type: () -> None
239 """
240 Reload conf.iface
241 """
242 # Can only be called after conf.route is populated
243 if not conf.route:
244 raise ValueError("Error: conf.route isn't populated !")
245 conf.iface = get_working_if() # type: ignore
246
247 def _reload_provs(self):
248 # type: () -> None

Callers 2

reloadMethod · 0.95
route.pyFile · 0.80

Calls 1

get_working_ifFunction · 0.70

Tested by

no test coverage detected