summaryrefslogtreecommitdiffabout
path: root/src/piesctl-cl.opt
authorSergey Poznyakoff <gray@gnu.org>2016-01-09 07:37:37 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2016-01-09 07:37:37 (GMT)
commit346535b7d14be92dd2b853058039bca67bb380dd (patch) (side-by-side diff)
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') (more/less context) (ignore whitespace changes)
-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
OPTION(url,u,URL,
[<connect to this socket>])
BEGIN
- if (pies_url_create (&url, optarg))
+ if (pies_url_create (&client.url, optarg))
{
grecs_error (NULL, 0, _("%s: cannot create URL: %s"),
optarg, strerror (errno));

Return to:

Send suggestions and report system problems to the System administrator.