|
@@ -474,7 +474,7 @@ TftpStart (void)
|
|
printf ("*** Warning: no boot file name; using '%s'\n",
|
|
printf ("*** Warning: no boot file name; using '%s'\n",
|
|
tftp_filename);
|
|
tftp_filename);
|
|
} else {
|
|
} else {
|
|
- char *p = strchr (p, ':');
|
|
|
|
|
|
+ char *p = strchr (BootFile, ':');
|
|
|
|
|
|
if (p == NULL) {
|
|
if (p == NULL) {
|
|
strncpy(tftp_filename, BootFile, MAX_LEN);
|
|
strncpy(tftp_filename, BootFile, MAX_LEN);
|