summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authordjm <djm>2009-11-18 06:48:30 +0000
committerdjm <djm>2009-11-18 06:48:30 +0000
commitf0f5d6dda5fe27433ee730d4f85f9b551c84e23b (patch)
treeb238bb4602da552dfeeaf7511a1888fda6fa72fc /misc.h
parent21867788c0fc0f9ea917edc664d1e9adc3d79d0d (diff)
downloadopenssh-f0f5d6dda5fe27433ee730d4f85f9b551c84e23b.tar.gz
- (djm) [channels.c misc.c misc.h sshd.c] add missing setsockopt() to
set IPV6_V6ONLY for local forwarding with GatwayPorts=yes. Unify setting IPV6_V6ONLY behind a new function misc.c:sock_set_v6only() report and fix from jan.kratochvil AT redhat.com
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 5da170d2..e26b0aaf 100644
--- a/misc.h
+++ b/misc.h
@@ -35,6 +35,7 @@ char *tohex(const void *, size_t);
void sanitise_stdfd(void);
void ms_subtract_diff(struct timeval *, int *);
void ms_to_timeval(struct timeval *, int);
+void sock_set_v6only(int);
struct passwd *pwcopy(struct passwd *);
const char *ssh_gai_strerror(int);