diff options
author | Damien Miller <djm@mindrot.org> | 2009-11-18 17:48:30 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2009-11-18 17:48:30 +1100 |
commit | 04ee0f8f12ff3a1227439c5f67623547d7a5bd11 (patch) | |
tree | c434c075dc85b9eead1e2e8ac2a1046cf7c42417 /misc.h | |
parent | df6578bb4df17210f792c3bc98a72bed473e7e11 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ char *tohex(const void *, size_t); | |||
35 | void sanitise_stdfd(void); | 35 | void sanitise_stdfd(void); |
36 | void ms_subtract_diff(struct timeval *, int *); | 36 | void ms_subtract_diff(struct timeval *, int *); |
37 | void ms_to_timeval(struct timeval *, int); | 37 | void ms_to_timeval(struct timeval *, int); |
38 | void sock_set_v6only(int); | ||
38 | 39 | ||
39 | struct passwd *pwcopy(struct passwd *); | 40 | struct passwd *pwcopy(struct passwd *); |
40 | const char *ssh_gai_strerror(int); | 41 | const char *ssh_gai_strerror(int); |