Allow for binding to a link-local IPv6 address

Requires to also give the interface like ipv6%interface
This commit is contained in:
Sven Geuer 2023-12-16 23:37:36 +01:00
parent 3c3b5b0858
commit c9503273a7
3 changed files with 33 additions and 2 deletions

View file

@ -45,6 +45,7 @@ struct gengetopt_args_info {
int inetd_flag; /* Turn on inetd (default=off). */
char *standalone_arg; /* Turn on standalone (-a) on [addr:]port */
char *standalone_addr;
char *standalone_iface;
int standalone_port;
int encrypt_flag; /* Turn on SSL encryption (default=off). */
int encryptproxy_flag; /* Turn on client to proxy SSL encryption (def=off).*/
@ -80,6 +81,7 @@ struct gengetopt_args_info {
int inetd_given; /* Whether inetd was given. */
int standalone_given; /* Whether standalone was given */
int standalone_addr_given; /* Whether standalone address was given */
int standalone_iface_given; /* Whether standalone interface was given */
int header_given; /* Whether extra headers are given */
int encrypt_given; /* Whether encrypt was given */
int encryptproxy_given; /* Whether encrypt was given */