From d00ddc5e0feb54b57eecf8a4d3b63984e24efa74 Mon Sep 17 00:00:00 2001 From: JackDoan Date: Thu, 12 Feb 2026 12:04:19 -0600 Subject: [PATCH] uhp --- firewall_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firewall_test.go b/firewall_test.go index 8b710233..b78ae3f1 100644 --- a/firewall_test.go +++ b/firewall_test.go @@ -919,11 +919,11 @@ func TestNewFirewallFromConfig(t *testing.T) { // Test code/port error conf = config.NewC(l) - conf.Settings["firewall"] = map[string]any{"outbound": []any{map[string]any{"code": "a", "host": "testh"}}} + conf.Settings["firewall"] = map[string]any{"outbound": []any{map[string]any{"code": "a", "host": "testh", "proto": "any"}}} _, err = NewFirewallFromConfig(l, cs, conf) require.EqualError(t, err, "firewall.outbound rule #0; code was not a number; `a`") - conf.Settings["firewall"] = map[string]any{"outbound": []any{map[string]any{"port": "a", "host": "testh"}}} + conf.Settings["firewall"] = map[string]any{"outbound": []any{map[string]any{"port": "a", "host": "testh", "proto": "any"}}} _, err = NewFirewallFromConfig(l, cs, conf) require.EqualError(t, err, "firewall.outbound rule #0; port was not a number; `a`")