From a00442c204da2095c1b8db8001fa6d54343d032b Mon Sep 17 00:00:00 2001 From: brent saner Date: Sun, 6 Apr 2025 22:45:22 -0400 Subject: [PATCH] v0.2.2 FIXED: * Validations for all were missing. They aren't now. * Fixed a busted validator for explicit net --- cmd/subnetter/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/subnetter/main.go b/cmd/subnetter/main.go index a0744d6..2594f73 100644 --- a/cmd/subnetter/main.go +++ b/cmd/subnetter/main.go @@ -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 {