script.c.patch 416B

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