diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-01-09 09:37:37 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-01-09 09:37:37 +0200 |
commit | 346535b7d14be92dd2b853058039bca67bb380dd (patch) | |
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.
Diffstat (limited to 'src/piesctl-cl.opt')
-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 | |||
61 | OPTION(url,u,URL, | 61 | OPTION(url,u,URL, |
62 | [<connect to this socket>]) | 62 | [<connect to this socket>]) |
63 | BEGIN | 63 | BEGIN |
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)); |