diff options
author | green <green@FreeBSD.org> | 2000-06-26 05:44:23 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-06-26 05:44:23 +0000 |
commit | 9bccae4f2e267ca62056b16d55b797317a3060a6 (patch) | |
tree | e7fa8720c8c45d3a71b8303040261663e3c13769 /crypto/openssh/ssh.h | |
parent | 1f6b02c5a30aeb0ad40e2c490bd13805890ab99c (diff) | |
download | FreeBSD-src-9bccae4f2e267ca62056b16d55b797317a3060a6.zip FreeBSD-src-9bccae4f2e267ca62056b16d55b797317a3060a6.tar.gz |
Make rate limiting work per-listening-socket. Log better messages than
before for this, requiring a new function (get_ipaddr()). canohost.c
receives a $FreeBSD$ line.
Suggested by: Niels Provos <niels@OpenBSD.org>
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. */ |