[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.313 and 1.314

version 1.313, 2008/05/09 14:26:08 version 1.314, 2008/06/10 22:15:23
Line 1132 
Line 1132 
         if (!no_shell_flag || (datafellows & SSH_BUG_DUMMYCHAN))          if (!no_shell_flag || (datafellows & SSH_BUG_DUMMYCHAN))
                 id = ssh_session2_open();                  id = ssh_session2_open();
   
           /* If we don't expect to open a new session, then disallow it */
           if (options.control_master == SSHCTL_MASTER_NO) {
                   debug("Requesting no-more-sessions@openssh.com");
                   packet_start(SSH2_MSG_GLOBAL_REQUEST);
                   packet_put_cstring("no-more-sessions@openssh.com");
                   packet_put_char(0);
                   packet_send();
           }
   
         /* Execute a local command */          /* Execute a local command */
         if (options.local_command != NULL &&          if (options.local_command != NULL &&
             options.permit_local_command)              options.permit_local_command)

Legend:
Removed from v.1.313  
changed lines
  Added in v.1.314