aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-05-28 15:00:40 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-06-01 16:02:46 +0000
commit15543794b781266af31e613faea2d904afcee54e (patch)
tree7622a7a28c67cbfb7187de82ec867c9f40f99148
parent82d38f701cb523d83f6390dc5a5a84b0604b7948 (diff)
filter: 'strict' is the new default
The 'strict' filter policy is less invasive, as it will not touch TTYs unless there are clear indications that it may be a modem. Under this mode, the ModemManager-provided blacklist database is not used.
-rw-r--r--src/mm-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-context.c b/src/mm-context.c
index d0a76e00..8f20d2e8 100644
--- a/src/mm-context.c
+++ b/src/mm-context.c
@@ -38,7 +38,7 @@
static gboolean help_flag;
static gboolean version_flag;
static gboolean debug;
-static MMFilterRule filter_policy = MM_FILTER_POLICY_LEGACY;
+static MMFilterRule filter_policy = MM_FILTER_POLICY_STRICT;
static gboolean no_auto_scan = NO_AUTO_SCAN_DEFAULT;
static const gchar *initial_kernel_events;