aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-14 15:36:44 +0200
committerDan Williams <dcbw@redhat.com>2018-09-12 17:14:36 +0000
commit6e84f3d45934e4f1e334c4bfd0d9a43d88889039 (patch)
tree31acc1e5dec441b3cda6fd35a4739bf5a942dff6 /cli
parent47ed19d5be68f139d4fbb00c997cd2805488ace7 (diff)
iface-modem-location: validate SUPL server address
Devices will expect SUPL server given as either IP:PORT or FQDN:PORT, so just avoid saying we require a 'URL' because it's not true. We will use a new helper method to parse and validate user-provided SUPL server address.
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-modem-location.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/mmcli-modem-location.c b/cli/mmcli-modem-location.c
index 997e1a84..f96a521d 100644
--- a/cli/mmcli-modem-location.c
+++ b/cli/mmcli-modem-location.c
@@ -145,7 +145,7 @@ static GOptionEntry entries[] = {
},
{ "location-set-supl-server", 0, 0, G_OPTION_ARG_STRING, &set_supl_server_str,
"Set SUPL server address",
- "[IP:PORT] or [URL]"
+ "[IP:PORT] or [FQDN:PORT]"
},
{ "location-inject-assistance-data", 0, 0, G_OPTION_ARG_FILENAME, &inject_assistance_data_str,
"Inject assistance data in the GNSS module",