From 6e84f3d45934e4f1e334c4bfd0d9a43d88889039 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 14 Aug 2018 15:36:44 +0200 Subject: 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. --- cli/mmcli-modem-location.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/mmcli-modem-location.c') 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", -- cgit v1.2.3-70-g09d2