mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-27 11:49:32 +00:00
12 lines
416 B
Diff
12 lines
416 B
Diff
|
--- 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 */
|