From dee79a0c8190e203960c82a8d2ee922bdf45d6f7 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 9 Sep 2021 15:12:05 -0700 Subject: wtap_opttypes: move more if_filter and packet_verdict stuff together. As we did in earlier changes. --- wiretap/wtap_opttypes.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'wiretap') diff --git a/wiretap/wtap_opttypes.c b/wiretap/wtap_opttypes.c index e34dbe2782..35056f2a4e 100644 --- a/wiretap/wtap_opttypes.c +++ b/wiretap/wtap_opttypes.c @@ -345,10 +345,6 @@ static void wtap_block_free_option(wtap_block_t block, wtap_option_t *opt) g_bytes_unref(opt->value.byteval); break; - case WTAP_OPTTYPE_IF_FILTER: - if_filter_free(&opt->value.if_filterval); - break; - case WTAP_OPTTYPE_CUSTOM: switch (opt->value.custom_opt.pen) { case PEN_NFLX: @@ -360,6 +356,10 @@ static void wtap_block_free_option(wtap_block_t block, wtap_option_t *opt) } break; + case WTAP_OPTTYPE_IF_FILTER: + if_filter_free(&opt->value.if_filterval); + break; + case WTAP_OPTTYPE_PACKET_VERDICT: wtap_packet_verdict_free(&opt->value.packet_verdictval); break; -- cgit v1.2.3