summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/tcpip.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-17 23:04:24 +0000
committerjkh <jkh@FreeBSD.org>1996-06-17 23:04:24 +0000
commitcdc8a8df5449322c1bfdce74eda83aeb3f0d667a (patch)
treeeb2bbd66d7f3820ee1c630c4fea4df0f7a3560e8 /release/sysinstall/tcpip.c
parent435fbbfe95fac14194669655c413993547a91f55 (diff)
downloadFreeBSD-src-cdc8a8df5449322c1bfdce74eda83aeb3f0d667a.zip
FreeBSD-src-cdc8a8df5449322c1bfdce74eda83aeb3f0d667a.tar.gz
ack - left in a typo. Time for bed!
Diffstat (limited to 'release/sysinstall/tcpip.c')
-rw-r--r--release/sysinstall/tcpip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c
index 6094813..7e4f073 100644
--- a/release/sysinstall/tcpip.c
+++ b/release/sysinstall/tcpip.c
@@ -1,5 +1,5 @@
/*
- * $Id: tcpip.c,v 1.40 1996/06/12 17:09:34 jkh Exp $
+ * $Id: tcpip.c,v 1.41 1996/06/13 17:07:41 jkh Exp $
*
* Copyright (c) 1995
* Gary J Palmer. All rights reserved.
@@ -480,6 +480,7 @@ tcpOpenDialog(Device *devp)
char *ifaces;
variable_set2(VAR_HOSTNAME, hostname);
+ sethostname(hostname, strlen(hostname));
if (domainname[0])
variable_set2(VAR_DOMAINNAME, domainname);
if (gateway[0])
OpenPOWER on IntegriCloud