[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.1 and 1.2

version 1.1, 1999/09/26 20:53:37 version 1.2, 1999/09/28 07:56:47
Line 36 
Line 36 
   options->fascist_logging = -1;    options->fascist_logging = -1;
   options->print_motd = -1;    options->print_motd = -1;
   options->x11_forwarding = -1;    options->x11_forwarding = -1;
     options->x11_display_offset = -1;
   options->strict_modes = -1;    options->strict_modes = -1;
   options->keepalives = -1;    options->keepalives = -1;
   options->log_facility = (SyslogFacility)-1;    options->log_facility = (SyslogFacility)-1;
Line 96 
Line 97 
     options->print_motd = 1;      options->print_motd = 1;
   if (options->x11_forwarding == -1)    if (options->x11_forwarding == -1)
     options->x11_forwarding = 1;      options->x11_forwarding = 1;
     if (options->x11_display_offset == -1)
       options->x11_display_offset = 1;
   if (options->strict_modes == -1)    if (options->strict_modes == -1)
     options->strict_modes = 1;      options->strict_modes = 1;
   if (options->keepalives == -1)    if (options->keepalives == -1)
Line 153 
Line 156 
   sAFSTokenPassing,    sAFSTokenPassing,
 #endif  #endif
   sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress,    sPasswordAuthentication, sAllowHosts, sDenyHosts, sListenAddress,
   sPrintMotd, sIgnoreRhosts, sX11Forwarding,    sPrintMotd, sIgnoreRhosts, sX11Forwarding, sX11DisplayOffset,
   sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives    sStrictModes, sEmptyPasswd, sRandomSeedFile, sKeepAlives
 } ServerOpCodes;  } ServerOpCodes;
   
Line 196 
Line 199 
   { "printmotd", sPrintMotd },    { "printmotd", sPrintMotd },
   { "ignorerhosts", sIgnoreRhosts },    { "ignorerhosts", sIgnoreRhosts },
   { "x11forwarding", sX11Forwarding },    { "x11forwarding", sX11Forwarding },
     { "x11displayoffset", sX11DisplayOffset },
   { "strictmodes", sStrictModes },    { "strictmodes", sStrictModes },
   { "permitemptypasswords", sEmptyPasswd },    { "permitemptypasswords", sEmptyPasswd },
   { "randomseed", sRandomSeedFile },    { "randomseed", sRandomSeedFile },
Line 423 
Line 427 
         case sX11Forwarding:          case sX11Forwarding:
           intptr = &options->x11_forwarding;            intptr = &options->x11_forwarding;
           goto parse_flag;            goto parse_flag;
   
           case sX11DisplayOffset:
             intptr = &options->x11_display_offset;
             goto parse_int;
   
         case sStrictModes:          case sStrictModes:
           intptr = &options->strict_modes;            intptr = &options->strict_modes;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2