[BACK]Return to servconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/servconf.c between version 1.56 and 1.57

version 1.56, 2001/01/07 11:28:06 version 1.57, 2001/01/08 22:29:05
Line 78 
Line 78 
         options->max_startups_begin = -1;          options->max_startups_begin = -1;
         options->max_startups_rate = -1;          options->max_startups_rate = -1;
         options->max_startups = -1;          options->max_startups = -1;
           options->banner = NULL;
 }  }
   
 void  void
Line 198 
Line 199 
         sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups,          sAllowUsers, sDenyUsers, sAllowGroups, sDenyGroups,
         sIgnoreUserKnownHosts, sCiphers, sProtocol, sPidFile,          sIgnoreUserKnownHosts, sCiphers, sProtocol, sPidFile,
         sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups,          sGatewayPorts, sPubkeyAuthentication, sXAuthLocation, sSubsystem, sMaxStartups,
           sBanner
 } ServerOpCodes;  } ServerOpCodes;
   
 /* Textual representation of the tokens. */  /* Textual representation of the tokens. */
Line 257 
Line 259 
         { "gatewayports", sGatewayPorts },          { "gatewayports", sGatewayPorts },
         { "subsystem", sSubsystem },          { "subsystem", sSubsystem },
         { "maxstartups", sMaxStartups },          { "maxstartups", sMaxStartups },
           { "banner", sBanner },
         { NULL, 0 }          { NULL, 0 }
 };  };
   
Line 697 
Line 700 
                         intptr = &options->max_startups;                          intptr = &options->max_startups;
                         goto parse_int;                          goto parse_int;
   
                   case sBanner:
                           charptr = &options->banner;
                           goto parse_filename;
   
                 default:                  default:
                         fprintf(stderr, "%s line %d: Missing handler for opcode %s (%d)\n",                          fprintf(stderr, "%s line %d: Missing handler for opcode %s (%d)\n",
                                 filename, linenum, arg, opcode);                                  filename, linenum, arg, opcode);

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57