|
@@ -422,14 +422,14 @@ func runRulesTests(t *testing.T, ipt *IPTables) {
|
|
|
opt := "--"
|
|
|
prot := "0"
|
|
|
if ipt.proto == ProtocolIPv6 &&
|
|
|
- ipt.v1 == 1 && ipt.v2 <= 8 && ipt.v3 < 9 {
|
|
|
+ ipt.v1 == 1 && (ipt.v2 < 8 || (ipt.v2 == 8 && ipt.v3 < 9)) {
|
|
|
// this is fixed in iptables 1.8.9 via iptables/6e41c2d874
|
|
|
opt = " "
|
|
|
// this is fixed in iptables 1.8.9 via iptables/da8ecc62dd
|
|
|
prot = "all"
|
|
|
}
|
|
|
if ipt.proto == ProtocolIPv4 &&
|
|
|
- ipt.v1 == 1 && ipt.v2 <= 8 && ipt.v3 < 9 {
|
|
|
+ ipt.v1 == 1 && (ipt.v2 < 8 || (ipt.v2 == 8 && ipt.v3 < 9)) {
|
|
|
// this is fixed in iptables 1.8.9 via iptables/da8ecc62dd
|
|
|
prot = "all"
|
|
|
}
|