diff options
author | Guy Harris <gharris@sonic.net> | 2021-09-09 15:12:05 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-09-09 15:12:05 -0700 |
commit | dee79a0c8190e203960c82a8d2ee922bdf45d6f7 (patch) | |
tree | f193ae07f2ec0bb0ab3b5ab0bf8eba3ab2cf00be /wiretap | |
parent | d46e31a48aff9aa270d1032f66f215b54bbe78f6 (diff) |
wtap_opttypes: move more if_filter and packet_verdict stuff together.
As we did in earlier changes.
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/wtap_opttypes.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |