Commit a3514343 authored by Niels Möller's avatar Niels Möller
Browse files

* src/lshd.c (main_argp_parser): Bugfix: Use the supplied

interface! XXX Fix in 1.2 branch.

Rev: src/lshd.c:1.113
parent 28c44b39
......@@ -431,9 +431,9 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
argp_error(state, "All keyexchange algorithms disabled.");
if (self->port)
self->local = make_address_info_c(arg, self->port, 0);
self->local = make_address_info_c(self->interface, self->port, 0);
self->local = make_address_info_c(arg, "ssh", 22);
self->local = make_address_info_c(self->interface, "ssh", 22);
if (!self->local)
argp_error(state, "Invalid interface, port or service, %s:%s'.",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment