commit | 371590661e66ba21380bd1a8c0b4dd9659ba8999 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Aug 27 07:48:42 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Sep 16 22:08:01 2020 +0200 |
tree | 7edb9585eaa4ccc56948d0fec3ef59dcfa9fcc5c | |
parent | 37d9d6721a99b60f459ebb0b4832be3eaf83a1dd [diff] [blame] |
REORG: listener: move the listening address to a struct receiver The address will be specific to the receiver so let's move it there.
diff --git a/src/cfgparse.c b/src/cfgparse.c index cc787b2..cc5f9f7 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c
@@ -635,7 +635,7 @@ goto out; } } - newpeer->addr = l->addr; + newpeer->addr = l->rx.addr; newpeer->proto = protocol_by_family(newpeer->addr.ss_family); cur_arg++; }