aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorChuck Craft <bubbasnmp@gmail.com>2021-11-15 10:59:28 -0600
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-11-30 09:30:44 +0000
commit8a19d8d1c776e93b76371e43040780e52813fdff (patch)
treefa306464c82d3caf88f958f7ac307baf53eac8f5 /ui
parenta523135202846e147581a0b9496691c20f82d927 (diff)
cfilters/cli: -f "predef:..." needs cfilters loaded
Restore early loading of cfilters file removed in e0ddc7ad.
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/wireshark_application.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index eb76ef4501..b8621939ad 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -1087,6 +1087,9 @@ _e_prefs *WiresharkApplication::readConfigurationFiles(bool reset)
}
#endif
+ /* Read the capture filter file. */
+ read_filter_list(CFILTER_LIST);
+
return prefs_p;
}