aboutsummaryrefslogtreecommitdiff
path: root/src/piesctl-cl.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-01-09 09:37:37 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-01-09 09:37:37 +0200
commit346535b7d14be92dd2b853058039bca67bb380dd (patch)
treeb9c72955dd7eed72c5949751fbad031fd92a040d /src/piesctl-cl.opt
parent489432d354d88049afe4af54c29965d382d67f7a (diff)
downloadpies-346535b7d14be92dd2b853058039bca67bb380dd.tar.gz
pies-346535b7d14be92dd2b853058039bca67bb380dd.tar.bz2
piesctl: optionally bind to local IP
* configure.ac (GRECS_SETUP): Request sockaddr-list * grecs: Upgrade. * po/POTFILES.in: Remove meta.c * src/piesctl-cl.opt: Use client.url * src/piesctl.c (client_conn): New struct. (instance_keywords,piesctl_keywords): New keyword: "source". (parse_config): Initialize grecs_sockaddr_hints. (shttp_connect): Optionally bind to the selected local IP before connecting. * src/utmp.c (write_wtmpx,write_utmpx): Remove spurious notice.
Diffstat (limited to 'src/piesctl-cl.opt')
-rw-r--r--src/piesctl-cl.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piesctl-cl.opt b/src/piesctl-cl.opt
index b787a5c..41e982b 100644
--- a/src/piesctl-cl.opt
+++ b/src/piesctl-cl.opt
@@ -61,7 +61,7 @@ END
61OPTION(url,u,URL, 61OPTION(url,u,URL,
62 [<connect to this socket>]) 62 [<connect to this socket>])
63BEGIN 63BEGIN
64 if (pies_url_create (&url, optarg)) 64 if (pies_url_create (&client.url, optarg))
65 { 65 {
66 grecs_error (NULL, 0, _("%s: cannot create URL: %s"), 66 grecs_error (NULL, 0, _("%s: cannot create URL: %s"),
67 optarg, strerror (errno)); 67 optarg, strerror (errno));

Return to:

Send suggestions and report system problems to the System administrator.