[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.111 and 1.112

version 1.111, 2003/05/15 14:55:25 version 1.112, 2003/05/16 03:27:12
Line 107 
Line 107 
         oHostKeyAlgorithms, oBindAddress, oSmartcardDevice,          oHostKeyAlgorithms, oBindAddress, oSmartcardDevice,
         oClearAllForwardings, oNoHostAuthenticationForLocalhost,          oClearAllForwardings, oNoHostAuthenticationForLocalhost,
         oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,          oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
           oAddressFamily,
         oDeprecated, oUnsupported          oDeprecated, oUnsupported
 } OpCodes;  } OpCodes;
   
Line 194 
Line 195 
         { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost },          { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost },
         { "rekeylimit", oRekeyLimit },          { "rekeylimit", oRekeyLimit },
         { "connecttimeout", oConnectTimeout },          { "connecttimeout", oConnectTimeout },
           { "addressfamily", oAddressFamily },
         { NULL, oBadOption }          { NULL, oBadOption }
 };  };
   
Line 284 
Line 286 
         size_t len;          size_t len;
         u_short fwd_port, fwd_host_port;          u_short fwd_port, fwd_host_port;
         char sfwd_host_port[6];          char sfwd_host_port[6];
           extern int IPv4or6;
   
         /* Strip trailing whitespace */          /* Strip trailing whitespace */
         for(len = strlen(line) - 1; len > 0; len--) {          for(len = strlen(line) - 1; len > 0; len--) {
Line 716 
Line 719 
                 }                  }
                 if (*activep && *intptr == -1)                  if (*activep && *intptr == -1)
                         *intptr = value;                          *intptr = value;
                   break;
   
           case oAddressFamily:
                   arg = strdelim(&s);
                   if (strcasecmp(arg, "inet") == 0)
                           IPv4or6 = AF_INET;
                   else if (strcasecmp(arg, "inet6") == 0)
                           IPv4or6 = AF_INET6;
                   else if (strcasecmp(arg, "any") == 0)
                           IPv4or6 = AF_UNSPEC;
                   else
                           fatal("Unsupported AddressFamily \"%s\"", arg);
                 break;                  break;
   
         case oEnableSSHKeysign:          case oEnableSSHKeysign:

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112