Address more comments.

Change-Id: I83ae1079f3dcba6b018f59ab7898decab5c211d2
This commit is contained in:
Kevin Krakauer
2019-06-10 12:43:54 -07:00
parent 8afbd974da
commit 06a83df533
+1 -3
View File
@@ -33,7 +33,7 @@ const (
// DefaultTables returns a default set of tables. Each chain is set to accept
// all packets.
func DefaultTables() *IPTables {
tables := IPTables{
return &IPTables{
Tables: map[string]Table{
tablenameNat: Table{
BuiltinChains: map[Hook]Chain{
@@ -67,8 +67,6 @@ func DefaultTables() *IPTables {
Output: []string{tablenameMangle, tablenameNat},
},
}
return &tables
}
func unconditionalAcceptChain(name string) Chain {