summaryrefslogtreecommitdiffstats
path: root/contrib/initrd/script.c.patch
blob: 127b881c70e757d92e18d74844691c5eab065769 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- script.c.orig	Tue Apr  2 23:49:33 2002
+++ script.c	Wed Jun  5 14:17:22 2002
@@ -179,7 +179,7 @@
 	}
 	if (packet->siaddr) {
 		envp[j] = malloc(sizeof("siaddr=255.255.255.255"));
-		sprintip(envp[j++], "siaddr=", (unsigned char *) &packet->yiaddr);
+		sprintip(envp[j++], "siaddr=", (unsigned char *) &packet->siaddr);
 	}
 	if (!(over & FILE_FIELD) && packet->file[0]) {
 		/* watch out for invalid packets */