mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
refact: renamed package net to network to avoid collision with golang net package.
This commit is contained in:
parent
21236c257e
commit
48d27f274a
28 changed files with 298 additions and 298 deletions
|
@ -5,16 +5,16 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/evilsocket/bettercap-ng/core"
|
||||
"github.com/evilsocket/bettercap-ng/net"
|
||||
"github.com/evilsocket/bettercap-ng/network"
|
||||
)
|
||||
|
||||
type WindowsFirewall struct {
|
||||
iface *net.Endpoint
|
||||
iface *network.Endpoint
|
||||
forwarding bool
|
||||
redirections map[string]*Redirection
|
||||
}
|
||||
|
||||
func Make(iface *net.Endpoint) FirewallManager {
|
||||
func Make(iface *network.Endpoint) FirewallManager {
|
||||
firewall := &WindowsFirewall{
|
||||
iface: iface,
|
||||
forwarding: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue