diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-02-01 22:19:54 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-02-01 22:19:54 +1100 |
commit | 642ebe5b51112862f4c041abf6064fe711f56009 (patch) | |
tree | b2c6de5c883700063ec8d0f5a5732093ba7d4229 /sshconnect.c | |
parent | 0d8f2f3afa1663386ac80a0b7835b6776d5bcae1 (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.c | 4 |
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; | |||
70 | extern uid_t original_effective_uid; | 70 | extern uid_t original_effective_uid; |
71 | extern pid_t proxy_command_pid; | 71 | extern pid_t proxy_command_pid; |
72 | 72 | ||
73 | #ifndef INET6_ADDRSTRLEN /* for non IPv6 machines */ | ||
74 | #define INET6_ADDRSTRLEN 46 | ||
75 | #endif | ||
76 | |||
77 | static int show_other_keys(const char *, Key *); | 73 | static int show_other_keys(const char *, Key *); |
78 | static void warn_changed_key(Key *); | 74 | static void warn_changed_key(Key *); |
79 | 75 | ||