summaryrefslogtreecommitdiff
path: root/crypto/openssh/ssh.h
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>2000-06-26 05:44:23 +0000
committerBrian Feldman <green@FreeBSD.org>2000-06-26 05:44:23 +0000
commit7e03cf33e9b434dd5ee88d054127c907b17832a6 (patch)
tree4e74589b214159dcd7ce5bacbd0403b74faae62a /crypto/openssh/ssh.h
parentb535a9bf122063b40d948276c95df414b10bc1a1 (diff)
downloadsrc-test2-7e03cf33e9b434dd5ee88d054127c907b17832a6.tar.gz
src-test2-7e03cf33e9b434dd5ee88d054127c907b17832a6.zip
Notes
Diffstat (limited to 'crypto/openssh/ssh.h')
-rw-r--r--crypto/openssh/ssh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssh/ssh.h b/crypto/openssh/ssh.h
index 8024f51c8854..bdc54a2c7dda 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.
*/