diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-17 23:04:24 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-17 23:04:24 +0000 |
commit | cdc8a8df5449322c1bfdce74eda83aeb3f0d667a (patch) | |
tree | eb2bbd66d7f3820ee1c630c4fea4df0f7a3560e8 | |
parent | 435fbbfe95fac14194669655c413993547a91f55 (diff) | |
download | FreeBSD-src-cdc8a8df5449322c1bfdce74eda83aeb3f0d667a.zip FreeBSD-src-cdc8a8df5449322c1bfdce74eda83aeb3f0d667a.tar.gz |
ack - left in a typo. Time for bed!
-rw-r--r-- | release/sysinstall/media.c | 4 | ||||
-rw-r--r-- | release/sysinstall/tcpip.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/media.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 3 |
4 files changed, 8 insertions, 6 deletions
diff --git a/release/sysinstall/media.c b/release/sysinstall/media.c index bd54d00..770ca9c 100644 --- a/release/sysinstall/media.c +++ b/release/sysinstall/media.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media.c,v 1.40 1996/06/16 21:57:31 jkh Exp $ + * $Id: media.c,v 1.41 1996/06/17 21:48:28 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -315,7 +315,7 @@ mediaSetFTP(dialogMenuItem *self) } variable_set2(VAR_FTP_HOST, hostname); variable_set2(VAR_FTP_DIR, dir ? dir : "/"); - variable_set2(VAR_FTP_PORT, itoa(port)); + variable_set2(VAR_FTP_PORT, itoa(FtpPort)); ftpDevice.type = DEVICE_TYPE_FTP; ftpDevice.init = mediaInitFTP; ftpDevice.get = mediaGetFTP; 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]) diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c index bd54d00..770ca9c 100644 --- a/usr.sbin/sysinstall/media.c +++ b/usr.sbin/sysinstall/media.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media.c,v 1.40 1996/06/16 21:57:31 jkh Exp $ + * $Id: media.c,v 1.41 1996/06/17 21:48:28 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -315,7 +315,7 @@ mediaSetFTP(dialogMenuItem *self) } variable_set2(VAR_FTP_HOST, hostname); variable_set2(VAR_FTP_DIR, dir ? dir : "/"); - variable_set2(VAR_FTP_PORT, itoa(port)); + variable_set2(VAR_FTP_PORT, itoa(FtpPort)); ftpDevice.type = DEVICE_TYPE_FTP; ftpDevice.init = mediaInitFTP; ftpDevice.get = mediaGetFTP; diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index 6094813..7e4f073 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/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]) |