summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-02-01 22:19:54 +1100
committerDarren Tucker <dtucker@zip.com.au>2009-02-01 22:19:54 +1100
commit642ebe5b51112862f4c041abf6064fe711f56009 (patch)
treeb2c6de5c883700063ec8d0f5a5732093ba7d4229 /sshconnect.c
parent0d8f2f3afa1663386ac80a0b7835b6776d5bcae1 (diff)
- (dtucker) [defines.h sshconnect.c] INET6_ADDRSTRLEN is now needed in
channels.c too, so move the definition for non-IP6 platforms to defines.h where it can be shared.
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 1c4c744ec..c04aa1057 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -70,10 +70,6 @@ extern uid_t original_real_uid;
70extern uid_t original_effective_uid; 70extern uid_t original_effective_uid;
71extern pid_t proxy_command_pid; 71extern pid_t proxy_command_pid;
72 72
73#ifndef INET6_ADDRSTRLEN /* for non IPv6 machines */
74#define INET6_ADDRSTRLEN 46
75#endif
76
77static int show_other_keys(const char *, Key *); 73static int show_other_keys(const char *, Key *);
78static void warn_changed_key(Key *); 74static void warn_changed_key(Key *);
79 75