Skip to content

Commit ec20489

Browse files
author
Florian Westphal
committed
Revert "payload: don't remove icmp family dependency in special cases"
This reverts commit 126706c. As its now ok to use icmp-in-ip6 family we can remove the dependency. Signed-off-by: Florian Westphal <[email protected]>
1 parent 1e17359 commit ec20489

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/payload.c

-9
Original file line numberDiff line numberDiff line change
@@ -467,15 +467,6 @@ static bool payload_may_dependency_kill(struct payload_dep_ctx *ctx,
467467
* IPv6 for the bridge, inet and netdev families.
468468
*/
469469
switch (family) {
470-
case NFPROTO_IPV4:
471-
case NFPROTO_IPV6:
472-
if (expr->payload.desc == &proto_icmp &&
473-
family != NFPROTO_IPV4)
474-
return false;
475-
if (expr->payload.desc == &proto_icmp6 &&
476-
family != NFPROTO_IPV6)
477-
return false;
478-
break;
479470
case NFPROTO_BRIDGE:
480471
case NFPROTO_NETDEV:
481472
case NFPROTO_INET:

0 commit comments

Comments
 (0)