If the FTP install bombs out due to not being able to resolve the host

name given, go back to the TCP setup screen for their interface and give
them a chance to review the values.
This commit is contained in:
Jordan K. Hubbard 1996-03-19 12:23:54 +00:00
parent 8cc7a57e5e
commit fc3d6da119
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14697

View File

@ -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: ftp_strat.c,v 1.8 1995/12/07 10:33:48 peter Exp $
* $Id: ftp_strat.c,v 1.9 1996/03/02 07:31:53 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -167,8 +167,9 @@ mediaInitFTP(Device *dev)
if ((gethostbyname(hostname) == NULL) && (inet_addr(hostname) == INADDR_NONE)) {
dialog_clear();
msgConfirm("Cannot resolve hostname `%s'! Are you sure that your\n"
"name server, gateway and network interface are configured?", hostname);
"name server, gateway and network interface are correctly configured?", hostname);
netDevice->shutdown(netDevice);
tcpOpenDialog(netDevice);
return FALSE;
}
user = variable_get(VAR_FTP_USER);