author | Sergey Poznyakoff <gray@gnu.org> | 2016-01-09 07:37:37 (GMT) |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-01-09 07:37:37 (GMT) |
commit | 346535b7d14be92dd2b853058039bca67bb380dd (patch) (side-by-side diff) | |
tree | b9c72955dd7eed72c5949751fbad031fd92a040d /src/piesctl-cl.opt | |
parent | 489432d354d88049afe4af54c29965d382d67f7a (diff) | |
download | pies-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.
-rw-r--r-- | src/piesctl-cl.opt | 2 |
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)); |