diff options
Diffstat (limited to 'crypto/openssh/ssh.h')
-rw-r--r-- | crypto/openssh/ssh.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssh/ssh.h b/crypto/openssh/ssh.h index 8024f51..bdc54a2 100644 --- a/crypto/openssh/ssh.h +++ b/crypto/openssh/ssh.h @@ -364,6 +364,11 @@ char *get_remote_hostname(int socket); const char *get_canonical_hostname(void); /* + * Returns the local IP address as an ascii string. + */ +const char *get_ipaddr(int socket); + +/* * Returns the remote IP address as an ascii string. The value need not be * freed by the caller. */ |