MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _bad

Function _bad

network_diagnostics.py:1926–1927  ·  view source on GitHub ↗
(msg, code=400)

Source from the content-addressed store, hash-verified

1924
1925
1926def do_dhcp_snoop_setup(iface_a, iface_b, action='create'):
1927 """Guarded bridge setup: enslave two wired NICs into rgsnoop0 so the box is
1928 inline. Refuses the default-route / wireless / management interface so it
1929 can't cut its own link. Detection-only bridge (no IP on it)."""
1930 if action == 'destroy':

Callers 5

net_pingFunction · 0.85
net_tracerouteFunction · 0.85
net_mtrFunction · 0.85
net_whoisFunction · 0.85
net_arp_scanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected