diff --git a/libwccl/ops/match/actions/unmarkmatch.cpp b/libwccl/ops/match/actions/unmarkmatch.cpp index f1ac2a90b1c40002f1652911690a2fd0ff551062..863bb0e67b7b1b68c4fa376a28ad517cf9fc2a28 100644 --- a/libwccl/ops/match/actions/unmarkmatch.cpp +++ b/libwccl/ops/match/actions/unmarkmatch.cpp @@ -33,6 +33,7 @@ void UnmarkMatch::execute(const ActionExecContext& context) const for (int i = 0; i < channel.size(); ++i) { if (channel.segments()[i] == segment_idx) { channel.set_segment_at(i, 0); + channel.set_head_at(i, false); } } } diff --git a/libwccl/ops/tagactions/unmark.cpp b/libwccl/ops/tagactions/unmark.cpp index e090cbceb098d26d25b9482cdf1232cfe91c8dd0..5de0fa6389ba3bedd4ac796965b8acce0cb3e796 100644 --- a/libwccl/ops/tagactions/unmark.cpp +++ b/libwccl/ops/tagactions/unmark.cpp @@ -37,6 +37,7 @@ Bool Unmark::execute(const ActionExecContext& context) const for (int i = 0; i < channel.size(); ++i) { if (channel.segments()[i] == segment_idx) { channel.set_segment_at(i, 0); + channel.set_head_at(i, false); } } return Bool(true);