mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
balls
This commit is contained in:
parent
8e4be293ab
commit
ed063d1eab
1 changed files with 0 additions and 3 deletions
|
@ -14,8 +14,5 @@ var IPv4RouteCmdOpts = []string{"interface", "ipv4", "show", "route"}
|
|||
func IPv4RouteIsGateway(ifname string, tokens []string, f func(gateway string) (*Endpoint, error)) (*Endpoint, error) {
|
||||
subnet := tokens[1]
|
||||
gateway := tokens[2]
|
||||
|
||||
fmt.Printf("subnet='%s' ip='%s'\n", subnet, gateway)
|
||||
|
||||
return f(gateway)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue