diff options
author | João Valverde <j@v6e.pt> | 2022-02-17 17:02:30 +0000 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-02-17 20:50:30 +0000 |
commit | 8608a432eebf59d6f3137e0503d97b73360d8b5f (patch) | |
tree | 3fead22189dc5819efe19f51668870af580896c9 | |
parent | 3a620f6f87d47f48efe879d462b037b72a39f1cc (diff) |
Epan: Add some missing reserved keywords
-rw-r--r-- | epan/proto.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c index a62fd04d22..db404150ae 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -447,6 +447,9 @@ static const char *reserved_filter_names[] = { /* Display filter keywords. */ "eq", "ne", + "all_eq", + "any_eq", + "all_ne", "any_ne", "gt", "ge", @@ -524,7 +527,7 @@ proto_init(GSList *register_all_plugin_protocols_list, proto_reserved_filter_names = g_hash_table_new(g_str_hash, g_str_equal); for (const char **ptr = reserved_filter_names; *ptr != NULL; ptr++) { - /* GHashTable has no key destructor. */ + /* GHashTable has no key destructor so the cast is safe. */ g_hash_table_add(proto_reserved_filter_names, *(char **)ptr); } |