[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.593 and 1.594

version 1.593, 2023/07/26 23:06:00 version 1.594, 2023/09/03 23:59:32
Line 2119 
Line 2119 
 static int  static int
 ssh_session2(struct ssh *ssh, const struct ssh_conn_info *cinfo)  ssh_session2(struct ssh *ssh, const struct ssh_conn_info *cinfo)
 {  {
         int r, id = -1;          int r, interactive, id = -1;
         char *cp, *tun_fwd_ifname = NULL;          char *cp, *tun_fwd_ifname = NULL;
   
         /* XXX should be pre-session */          /* XXX should be pre-session */
Line 2176 
Line 2176 
         if (options.session_type != SESSION_TYPE_NONE)          if (options.session_type != SESSION_TYPE_NONE)
                 id = ssh_session2_open(ssh);                  id = ssh_session2_open(ssh);
         else {          else {
                 ssh_packet_set_interactive(ssh,                  interactive = options.control_master == SSHCTL_MASTER_NO;
                     options.control_master == SSHCTL_MASTER_NO,                  /* ControlPersist may have clobbered ControlMaster, so check */
                   if (need_controlpersist_detach)
                           interactive = otty_flag != 0;
                   ssh_packet_set_interactive(ssh, interactive,
                     options.ip_qos_interactive, options.ip_qos_bulk);                      options.ip_qos_interactive, options.ip_qos_bulk);
         }          }
   

Legend:
Removed from v.1.593  
changed lines
  Added in v.1.594