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 0244604280

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 {