BOOTPD Sunos 4.0.3 Sun 3/80

Bruce M. Walker bmw at isgtec.uucp
Sun Feb 10 06:16:14 AEST 1991


In article <1991Feb6.023929.14047 at nodecg.ncc.telecomwa.oz.au> baker at nodecg.ncc.telecomwa.oz.au (mark baker 4206813) writes:
> I have compilied the CMU BOOTP daemon on my Sun 3/80 under 4.0.3, but as soon
> as it receives a request it dies and core dumps. I know that several months ago
> this subject was mentioned but at that time I had no interest, sorry. Any 
> assistance would be appreciated.

Apply this patch -- works for me!

-------------------- cut here ---------------------------
*** org/bootpd.c	Tue Oct 17 17:21:44 1989
--- src/bootpd.c	Wed Dec 19 10:26:57 1990
***************
*** 566,572 ****
      }
  
      if (debug) {
! 	report(LOG_INFO, "found %s %s\n", inet_ntoa(hp->iaddr.s_addr),
  		hp->hostname->string);
      }
  
--- 566,572 ----
      }
  
      if (debug) {
! 	report(LOG_INFO, "found %s %s\n", inet_ntoa(hp->iaddr),
  		hp->hostname->string);
      }
  
***************
*** 948,954 ****
  	    fprintf(fp, "%s:", hp->hostname->string);
  	}
  	if (hp->flags.iaddr) {
! 	    fprintf(fp, "ip=%s:", inet_ntoa(hp->iaddr.s_addr));
  	}
  	if (hp->flags.htype) {
  	    fprintf(fp, "ht=%u:", (unsigned) hp->htype);
--- 948,954 ----
  	    fprintf(fp, "%s:", hp->hostname->string);
  	}
  	if (hp->flags.iaddr) {
! 	    fprintf(fp, "ip=%s:", inet_ntoa(hp->iaddr));
  	}
  	if (hp->flags.htype) {
  	    fprintf(fp, "ht=%u:", (unsigned) hp->htype);
***************
*** 957,963 ****
  	    }
  	}
  	if (hp->flags.subnet_mask) {
! 	    fprintf(fp, "sm=%s:", inet_ntoa(hp->subnet_mask.s_addr));
  	}
  	if (hp->flags.cookie_server) {
  	    fprintf(fp, "cs=");
--- 957,963 ----
  	    }
  	}
  	if (hp->flags.subnet_mask) {
! 	    fprintf(fp, "sm=%s:", inet_ntoa(hp->subnet_mask));
  	}
  	if (hp->flags.cookie_server) {
  	    fprintf(fp, "cs=");
-------------------- cut here ---------------------------

--
bmw at isgtec.uucp  [ ..uunet!utai!lsuc!isgtec!bmw ]  Bruce Walker



More information about the Alt.sys.sun mailing list