mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ack - left in a typo. Time for bed!
This commit is contained in:
parent
975dcaa94f
commit
79bde569ad
4 changed files with 8 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in a new issue