added cidr validation and made hook execs to command array with args

This commit is contained in:
ston1th 2021-02-11 20:17:52 +01:00
commit 85a2e39a4b
6 changed files with 54 additions and 165 deletions

2
go.mod
View file

@ -16,6 +16,8 @@ require (
github.com/google/uuid v1.1.2 // indirect
github.com/hashicorp/go-hclog v0.15.0
github.com/hashicorp/raft v1.2.0
github.com/mdlayher/arp v0.0.0-20191213142603-f72070a231fc
github.com/mdlayher/ethernet v0.0.0-20190606142754-0394541c37b7
github.com/vishvananda/netlink v1.1.0
go.etcd.io/etcd v3.3.25+incompatible
go.uber.org/zap v1.16.0