2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-04 18:44:36 +00:00
xNBA/contrib/initrd/script.c.patch

12 lines
416 B
Diff
Raw Normal View History

2005-05-17 16:44:57 +00:00
--- 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 */