home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / unix / volume28 / bootp-2.4.0 / patch01 < prev    next >
Text File  |  1994-08-24  |  1KB  |  42 lines

  1. Newsgroups: comp.sources.unix
  2. From: gwr@mc.com (Gordon W. Ross)
  3. Subject: v28i119: bootp-2.4.0 - RFC 1048,1533 "bootp" server (updates V27I63), Patch01
  4. Sender: unix-sources-moderator@gw.home.vix.com
  5. Approved: vixie@gw.home.vix.com
  6.  
  7. Submitted-By: gwr@mc.com (Gordon W. Ross)
  8. Posting-Number: Volume 28, Issue 119
  9. Archive-Name: bootp-2.4.0/patch01
  10.  
  11. This is patch 1 for the bootp-2.4 release.
  12.  
  13. This corrects a missing initialization that may cause junk
  14. to appear in the boot file name provided in a bootreply.
  15. (This problem does not appear when the :td: option is set.)
  16.  
  17. diff -rc bootp-2.4.0/patchlevel.h bootp-2.4.1/patchlevel.h
  18. *** bootp-2.4.0/patchlevel.h    Mon Aug 22 11:39:05 1994
  19. --- bootp-2.4.1/patchlevel.h    Tue Aug 23 11:22:09 1994
  20. ***************
  21. *** 1,3 ****
  22.   /* patchlevel.h */
  23.   #define VERSION     "2.4"
  24. ! #define PATCHLEVEL    0
  25. --- 1,3 ----
  26.   /* patchlevel.h */
  27.   #define VERSION     "2.4"
  28. ! #define PATCHLEVEL    1
  29. diff -rc bootp-2.4.0/bootpd.c bootp-2.4.1/bootpd.c
  30. *** bootp-2.4.0/bootpd.c    Mon Aug 22 12:51:16 1994
  31. --- bootp-2.4.1/bootpd.c    Tue Aug 23 17:17:15 1994
  32. ***************
  33. *** 815,820 ****
  34. --- 815,821 ----
  35.           strcpy(realpath, hp->tftpdir->string);
  36.           clntpath = &realpath[strlen(realpath)];
  37.       } else {
  38. +         realpath[0] = '\0';
  39.           clntpath = realpath;
  40.       }
  41.   
  42.