summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tlsc.c
diff options
context:
space:
mode:
authorJohn Regan <john@jrjrtech.com>2018-04-11 14:48:30 -0400
committerLaurent Bercot <ska-skaware@skarnet.org>2018-04-11 22:12:02 +0000
commitc5a0addb961244f4a902c68e82625d79042a0441 (patch)
treeff9e24cb886c5a9e5d55dc58318453572fb7d8ae /src/conn-tools/s6-tlsc.c
parent1e3f94aba1c47b689546ae8ac2e4ba6b1f1774c2 (diff)
downloads6-networking-c5a0addb961244f4a902c68e82625d79042a0441.tar.xz
change localip is6 flag based on destination ip
By default, the localip flag is initialized with the is6 flag set to 0. The only time the flag is changed to 1 is when a user specifies a local IPv6 address to use. Because of this, socket_tcp46 always creates an IPv4 socket. This patch corrects that - if the user hasn't specified a local address, then the local 'is6' flag is updated to match the destination 'is6' flag. Signed-off-by: Laurent Bercot <ska-skaware@skarnet.org>
Diffstat (limited to 'src/conn-tools/s6-tlsc.c')
0 files changed, 0 insertions, 0 deletions