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

Diff for /src/usr.bin/ssh/readconf.c between version 1.76.2.1 and 1.76.2.2

version 1.76.2.1, 2001/09/27 19:03:54 version 1.76.2.2, 2001/11/15 00:15:19
Line 115 
Line 115 
         oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias,          oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias,
         oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication,          oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication,
         oHostKeyAlgorithms, oBindAddress, oSmartcardDevice,          oHostKeyAlgorithms, oBindAddress, oSmartcardDevice,
         oClearAllForwardings          oClearAllForwardings, oNoHostAuthenticationForLocalhost
 } OpCodes;  } OpCodes;
   
 /* Textual representations of the tokens. */  /* Textual representations of the tokens. */
Line 186 
Line 186 
         { "bindaddress", oBindAddress },          { "bindaddress", oBindAddress },
         { "smartcarddevice", oSmartcardDevice },          { "smartcarddevice", oSmartcardDevice },
         { "clearallforwardings", oClearAllForwardings },          { "clearallforwardings", oClearAllForwardings },
           { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost },
         { NULL, 0 }          { NULL, 0 }
 };  };
   
Line 413 
Line 414 
                 intptr = &options->keepalives;                  intptr = &options->keepalives;
                 goto parse_flag;                  goto parse_flag;
   
           case oNoHostAuthenticationForLocalhost:
                   intptr = &options->no_host_authentication_for_localhost;
                   goto parse_flag;
   
         case oNumberOfPasswordPrompts:          case oNumberOfPasswordPrompts:
                 intptr = &options->number_of_password_prompts;                  intptr = &options->number_of_password_prompts;
                 goto parse_int;                  goto parse_int;
Line 791 
Line 796 
         options->preferred_authentications = NULL;          options->preferred_authentications = NULL;
         options->bind_address = NULL;          options->bind_address = NULL;
         options->smartcard_device = NULL;          options->smartcard_device = NULL;
           options->no_host_authentication_for_localhost = - 1;
 }  }
   
 /*  /*
Line 909 
Line 915 
                 options->log_level = SYSLOG_LEVEL_INFO;                  options->log_level = SYSLOG_LEVEL_INFO;
         if (options->clear_forwardings == 1)          if (options->clear_forwardings == 1)
                 clear_forwardings(options);                  clear_forwardings(options);
           if (options->no_host_authentication_for_localhost == - 1)
                   options->no_host_authentication_for_localhost = 0;
         /* options->proxy_command should not be set by default */          /* options->proxy_command should not be set by default */
         /* options->user will be set in the main program if appropriate */          /* options->user will be set in the main program if appropriate */
         /* options->hostname will be set in the main program if appropriate */          /* options->hostname will be set in the main program if appropriate */

Legend:
Removed from v.1.76.2.1  
changed lines
  Added in v.1.76.2.2