mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-11 14:52:56 +02:00
more fixes
This commit is contained in:
@@ -83,7 +83,7 @@ func (f *Firewall) overrideWith(other Firewall) {
|
||||
|
||||
func (f *Firewall) setDefaults(globalLogLevel string) {
|
||||
f.Enabled = gosettings.DefaultPointer(f.Enabled, true)
|
||||
f.Implementation = gosettings.DefaultComparable(f.Implementation, "iptables")
|
||||
f.Implementation = gosettings.DefaultComparable(f.Implementation, "auto")
|
||||
f.Iptables.setDefaults(globalLogLevel)
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ func Test_Settings_String(t *testing.T) {
|
||||
| └── Block ads: no
|
||||
├── Firewall settings:
|
||||
| ├── Enabled: yes
|
||||
| ├── Implementation: iptables
|
||||
| ├── Implementation: auto
|
||||
| └── Iptables settings:
|
||||
| └── Log level: INFO
|
||||
├── Log settings:
|
||||
|
||||
Reference in New Issue
Block a user