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

Diff for /src/usr.bin/ssh/ssh.c between version 1.14 and 1.15

version 1.14, 1999/09/30 04:30:03 version 1.15, 1999/09/30 05:03:05
Line 118 
Line 118 
   fprintf(stderr, "  -R listen-port:host:port   Forward remote port to local address\n");    fprintf(stderr, "  -R listen-port:host:port   Forward remote port to local address\n");
   fprintf(stderr, "              These cause %s to listen for connections on a port, and\n", av0);    fprintf(stderr, "              These cause %s to listen for connections on a port, and\n", av0);
   fprintf(stderr, "              forward them to the other side by connecting to host:port.\n");    fprintf(stderr, "              forward them to the other side by connecting to host:port.\n");
 #ifdef WITH_ZLIB  
   fprintf(stderr, "  -C          Enable compression.\n");    fprintf(stderr, "  -C          Enable compression.\n");
 #endif /* WITH_ZLIB */  
   fprintf(stderr, "  -o 'option' Process the option as if it was read from a configuration file.\n");    fprintf(stderr, "  -o 'option' Process the option as if it was read from a configuration file.\n");
   exit(1);    exit(1);
 }  }
Line 392 
Line 390 
           add_local_forward(&options, fwd_port, buf, fwd_host_port);            add_local_forward(&options, fwd_port, buf, fwd_host_port);
           break;            break;
   
 #ifdef WITH_ZLIB  
         case 'C':          case 'C':
           options.compression = 1;            options.compression = 1;
           break;            break;
 #endif /* WITH_ZLIB */  
   
         case 'o':          case 'o':
           dummy = 1;            dummy = 1;
Line 622 
Line 618 
       setsid();        setsid();
     }      }
   
 #ifdef WITH_ZLIB  
   /* Enable compression if requested. */    /* Enable compression if requested. */
   if (options.compression)    if (options.compression)
     {      {
Line 644 
Line 639 
       else        else
         packet_disconnect("Protocol error waiting for compression response.");          packet_disconnect("Protocol error waiting for compression response.");
     }      }
 #endif /* WITH_ZLIB */  
   
   /* Allocate a pseudo tty if appropriate. */    /* Allocate a pseudo tty if appropriate. */
   if (tty_flag)    if (tty_flag)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15