netxfly / xsec-traffic

恶意流量分析程序

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arp包版本过新导致无法完成build

SakaZhang opened this issue · comments

使用go get macaron.v1时的go mod vendor默认拉取的arpfox的版本是1.0.0,不再支持origSrc, err := arp.Lookup(binary.BigEndian.Uint32(gatewayIP))使用binary.BigEndian.Uint32这个参数类型,可通过修改go mod 中arpfox的版本->0.9.9 来完成编译。同时编译时使用go build xsec_sensor.go来编译。