v0.2.2
FIXED: * Validations for all were missing. They aren't now. * Fixed a busted validator for explicit net
This commit is contained in:
parent
3c1bc832c0
commit
a00442c204
@ -69,7 +69,7 @@ func main() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
case "net":
|
case "net":
|
||||||
if err = validate.Struct(args.ExplicitNetwork.Network.Network); err != nil {
|
if err = validate.Struct(args.ExplicitNetwork); err != nil {
|
||||||
log.Panicln(err)
|
log.Panicln(err)
|
||||||
}
|
}
|
||||||
if origPfx, err = netip.ParsePrefix(args.ExplicitNetwork.Network.Network); err != nil {
|
if origPfx, err = netip.ParsePrefix(args.ExplicitNetwork.Network.Network); err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user