aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-11-04 22:40:28 +0100
committerAleksander Morgado <aleksander@aleksander.es>2021-11-04 22:40:28 +0100
commit3444b029324bb2bd54a6bbd486792d49619e9383 (patch)
treef108eec531e7fd38b3fa2b70382d2a52dcbc7670 /plugins
parenteae2e28577c53e8deaa25d46d6032d5132be6b58 (diff)
core: replace 'whitelist' with 'allowlist' and 'blacklist' with 'blocklist'
We keep the 'WHITELIST-ONLY' filter type name still as an option in --filter-policy=[POLICY], but deprecated and with the better 'ALLOWLIST-ONLY' replacement suggested from now on.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sierra/mm-common-sierra.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sierra/mm-common-sierra.c b/plugins/sierra/mm-common-sierra.c
index f366050b..341006d6 100644
--- a/plugins/sierra/mm-common-sierra.c
+++ b/plugins/sierra/mm-common-sierra.c
@@ -144,13 +144,13 @@ gcap_ready (MMPortSerialAt *port,
/* Sierra APPx ports have limited AT command parsers that just reply with
* "OK" to most commands. These can sometimes be used for PPP while the
* main port is used for status and control, but older modems tend to crash
- * or fail PPP. So we whitelist modems that are known to allow PPP on the
+ * or fail PPP. So we allowlist modems that are known to allow PPP on the
* secondary APP ports.
*/
if (strstr (response, "APP1")) {
g_object_set_data (G_OBJECT (probe), TAG_SIERRA_APP_PORT, GUINT_TO_POINTER (TRUE));
- /* PPP-on-APP1-port whitelist */
+ /* PPP-on-APP1-port allowlist */
if (strstr (response, "C885") ||
strstr (response, "USB 306") ||
strstr (response, "MC8790"))