MCPcopy
hub / github.com/bettercap/bettercap / destroyQueue

Method destroyQueue

modules/packet_proxy/packet_proxy_linux.go:90–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90func (mod *PacketProxy) destroyQueue() {
91 if mod.queue == nil {
92 return
93 }
94
95 mod.queue.Close()
96 mod.queue = nil
97}
98
99func (mod *PacketProxy) runRule(enable bool) (err error) {
100 action := "-I"

Callers 1

ConfigureMethod · 0.95

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected