mirror of
https://github.com/bettercap/bettercap
synced 2025-07-30 11:40:33 -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
9
network/arp_parser_linux.go
Normal file
9
network/arp_parser_linux.go
Normal file
|
@ -0,0 +1,9 @@
|
|||
package network
|
||||
|
||||
import "regexp"
|
||||
|
||||
var ArpTableParser = regexp.MustCompile("^([\\d\\.]+)\\s+dev\\s+(\\w+)\\s+\\w+\\s+([a-f0-9:]{17})\\s+\\w+$")
|
||||
var ArpTableTokens = 4
|
||||
var ArpTableTokenIndex = []int{1, 3, 2}
|
||||
var ArpCmd = "ip"
|
||||
var ArpCmdOpts = []string{"neigh"}
|
Loading…
Add table
Add a link
Reference in a new issue