summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2009-11-18 17:48:30 +1100
committerDamien Miller <djm@mindrot.org>2009-11-18 17:48:30 +1100
commit04ee0f8f12ff3a1227439c5f67623547d7a5bd11 (patch)
treec434c075dc85b9eead1e2e8ac2a1046cf7c42417 /misc.h
parentdf6578bb4df17210f792c3bc98a72bed473e7e11 (diff)
- (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 5da170d2f..e26b0aaff 100644
--- a/misc.h
+++ b/misc.h
@@ -35,6 +35,7 @@ char *tohex(const void *, size_t);
35void sanitise_stdfd(void); 35void sanitise_stdfd(void);
36void ms_subtract_diff(struct timeval *, int *); 36void ms_subtract_diff(struct timeval *, int *);
37void ms_to_timeval(struct timeval *, int); 37void ms_to_timeval(struct timeval *, int);
38void sock_set_v6only(int);
38 39
39struct passwd *pwcopy(struct passwd *); 40struct passwd *pwcopy(struct passwd *);
40const char *ssh_gai_strerror(int); 41const char *ssh_gai_strerror(int);