SLIP sliplogin.c bugfix
    Rayan Zachariassen 
    rayan at ai.toronto.edu
       
    Thu Dec 15 19:24:32 AEST 1988
    
    
  
If sliplogin.c worked for you, it was purely by chance.  Here is a way of
making it slightly more deterministic.  Don't blame me, this isn't my code:
*** RCS/sliplogin.c,v	Wed Dec 14 04:24:42 1988
--- sliplogin.c	Wed Dec 14 04:36:40 1988
***************
*** 218,223 ****
--- 218,224 ----
  	int val;
  	extern struct in_addr inet_makeaddr();
+ 	bzero((caddr_t)saddr, sizeof *saddr);
  	sin->sin_family = AF_INET;
  	val = inet_addr(s);
  	if (val != -1) {
[[ This fix has been applied to the copy in the archives.  --wnl ]]
    
    
More information about the Comp.sys.sun
mailing list