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.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user