Maint: firewall package interface rework
- return concrete struct type - split interface is sub-interfaces
This commit is contained in:
@@ -248,7 +248,7 @@ func _main(ctx context.Context, buildInfo models.BuildInformation,
|
||||
Prefix: "firewall: ",
|
||||
Level: firewallLogLevel,
|
||||
})
|
||||
firewallConf := firewall.NewConfigurator(firewallLogger, cmder, routingConf,
|
||||
firewallConf := firewall.NewConfig(firewallLogger, cmder, routingConf,
|
||||
defaultInterface, defaultGateway, localNetworks, defaultIP)
|
||||
|
||||
if err := routingConf.Setup(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user