Rename iptables IsIpv6 to IsIPv6

This commit is contained in:
Tim Hockin
2020-04-09 16:32:07 -07:00
parent ef934a2c5e
commit efb24d44c6
10 changed files with 17 additions and 17 deletions

View File

@@ -101,8 +101,8 @@ func (*FakeIPTables) DeleteRule(table iptables.Table, chain iptables.Chain, args
return nil
}
// IsIpv6 is part of iptables.Interface
func (f *FakeIPTables) IsIpv6() bool {
// IsIPv6 is part of iptables.Interface
func (f *FakeIPTables) IsIPv6() bool {
return f.protocol == iptables.ProtocolIpv6
}