summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1996-10-22 21:11:49 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1996-10-22 21:11:49 +0000
commit268fa61dc1965cfc7fded3581a9e751f66e5a8e0 (patch)
tree98262c085e892042a0ebbc84563ada7cd332b37c /libexec
parentd89ac03c9d8c94e1e2abee3494f5ac1cb78fa0a8 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rshd/rshd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index 9945dde6aec1..ceb186dc7a52 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: rshd.c,v 1.8 1996/09/22 21:55:08 wosch Exp $
*/
#ifndef lint
@@ -363,7 +363,7 @@ doit(fromp)
if (!bcmp(hp->h_addr_list[0],
(caddr_t)&fromp->sin_addr,
sizeof(fromp->sin_addr))) {
- hostname = hp->h_name;
+ hostname = remotehost;
break;
}
}