FIXED:
* Validations for all were missing. They aren't now.
* Fixed a busted validator for explicit net
This commit is contained in:
brent saner 2025-04-06 22:45:22 -04:00
parent 3c1bc832c0
commit a00442c204
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -69,7 +69,7 @@ func main() {
return
}
case "net":
if err = validate.Struct(args.ExplicitNetwork.Network.Network); err != nil {
if err = validate.Struct(args.ExplicitNetwork); err != nil {
log.Panicln(err)
}
if origPfx, err = netip.ParsePrefix(args.ExplicitNetwork.Network.Network); err != nil {