Fix typo.
This commit is contained in:
@@ -227,7 +227,7 @@ setBootConfigFromNVRAM(void)
|
||||
rtems_bsdnet_config.ntp_server[0] = env("NTPSERVER", rtems_bsdnet_bootp_server_name);
|
||||
epicsEnvSet("EPICS_TS_NTP_INET",rtems_bsdnet_config.ntp_server[0]);
|
||||
cp1 = env("DOMAIN", NULL);
|
||||
if (cp1 == NULL)
|
||||
if (cp1 != NULL)
|
||||
rtems_bsdnet_config.domainname = cp1;
|
||||
rtems_bsdnet_config.hostname = env("HOSTNAME", "iocNobody");
|
||||
rtems_bsdnet_config.ifconfig->ip_address = env("IPADDR0", "192.168.0.2");
|
||||
|
||||
Reference in New Issue
Block a user