diff options
| author | Michael Biebl <biebl@debian.org> | 2020-02-19 23:32:13 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2020-02-19 23:32:13 +0100 |
| commit | 3c2c324f025086dfdd40e2ec9f6db0643625c1de (patch) | |
| tree | 4efeae8faed34c747189f71b1129d67c3fe8bbf4 /clients/cli | |
| parent | bc4ff7bc667094c9450d8a34abe552886c4b1f73 (diff) | |
| parent | e536d40eaea5dcdc0743b0a5e8e17faa46608a50 (diff) | |
Update upstream source from tag 'upstream/1.22.8'
Update to upstream version '1.22.8' with Debian dir 692c834c9a0433e17bbad56345902291f4c31d2a
Diffstat (limited to 'clients/cli')
| -rw-r--r-- | clients/cli/connections.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c index a77c2482..e13ae9ac 100644 --- a/clients/cli/connections.c +++ b/clients/cli/connections.c @@ -4252,18 +4252,10 @@ set_connection_type (NmCli *nmc, NMConnection *con, const OptionInfo *option, co static gboolean set_connection_iface (NmCli *nmc, NMConnection *con, const OptionInfo *option, const char *value, GError **error) { - GError *tmp_error = NULL; - if (value) { /* Special value of '*' means no specific interface name */ if (strcmp (value, "*") == 0) value = NULL; - else if (!nm_utils_is_valid_iface_name (value, &tmp_error)) { - g_set_error (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT, - _("Error: '%s': %s"), value, tmp_error->message); - g_error_free (tmp_error); - return FALSE; - } } return set_property (nmc->client, |