[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.70 and 1.71

version 1.70, 2001/04/02 14:20:23 version 1.71, 2001/04/07 08:55:17
Line 110 
Line 110 
         oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, oMacs,          oUsePrivilegedPort, oLogLevel, oCiphers, oProtocol, oMacs,
         oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication,          oGlobalKnownHostsFile2, oUserKnownHostsFile2, oPubkeyAuthentication,
         oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias,          oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias,
         oPreferredAuthentications          oDynamicForward, oPreferredAuthentications
 } OpCodes;  } OpCodes;
   
 /* Textual representations of the tokens. */  /* Textual representations of the tokens. */
Line 172 
Line 172 
         { "keepalive", oKeepAlives },          { "keepalive", oKeepAlives },
         { "numberofpasswordprompts", oNumberOfPasswordPrompts },          { "numberofpasswordprompts", oNumberOfPasswordPrompts },
         { "loglevel", oLogLevel },          { "loglevel", oLogLevel },
           { "dynamicforward", oDynamicForward },
         { "preferredauthentications", oPreferredAuthentications },          { "preferredauthentications", oPreferredAuthentications },
         { NULL, 0 }          { NULL, 0 }
 };  };
Line 580 
Line 581 
                 if (*activep)                  if (*activep)
                         add_local_forward(options, fwd_port, buf, fwd_host_port);                          add_local_forward(options, fwd_port, buf, fwd_host_port);
                 break;                  break;
   
           case oDynamicForward:
                   arg = strdelim(&s);
                   if (!arg || *arg == '\0')
                           fatal("%.200s line %d: Missing port argument.",
                               filename, linenum);
                   if (arg[0] < '0' || arg[0] > '9')
                           fatal("%.200s line %d: Badly formatted port number.",
                               filename, linenum);
                   fwd_port = atoi(arg);
                   add_local_forward(options, fwd_port, "socks4", 0);
                   break;
   
         case oHost:          case oHost:
                 *activep = 0;                  *activep = 0;

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71