fix(firewall): remove previously allowed input ports

This commit is contained in:
Quentin McGaw
2022-11-11 09:19:03 +00:00
parent 192a7a56a3
commit 5aa39be973

View File

@@ -40,6 +40,7 @@ func (c *Config) SetAllowedPort(ctx context.Context, port uint16, intf string) (
port, intf, err)
}
netInterfaces[intf] = struct{}{}
c.allowedInputPorts[port] = netInterfaces
return nil
}