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

Diff for /src/usr.bin/ssh/mux.c between version 1.51 and 1.52

version 1.51, 2015/04/24 01:36:00 version 1.52, 2015/05/01 04:01:58
Line 592 
Line 592 
         if (type == SSH2_MSG_REQUEST_SUCCESS) {          if (type == SSH2_MSG_REQUEST_SUCCESS) {
                 if (rfwd->listen_port == 0) {                  if (rfwd->listen_port == 0) {
                         rfwd->allocated_port = packet_get_int();                          rfwd->allocated_port = packet_get_int();
                         logit("Allocated port %u for mux remote forward"                          debug("Allocated port %u for mux remote forward"
                             " to %s:%d", rfwd->allocated_port,                              " to %s:%d", rfwd->allocated_port,
                             rfwd->connect_host, rfwd->connect_port);                              rfwd->connect_host, rfwd->connect_port);
                         buffer_put_int(&out, MUX_S_REMOTE_PORT);                          buffer_put_int(&out, MUX_S_REMOTE_PORT);
Line 1703 
Line 1703 
                 if (cancel_flag)                  if (cancel_flag)
                         fatal("%s: got MUX_S_REMOTE_PORT for cancel", __func__);                          fatal("%s: got MUX_S_REMOTE_PORT for cancel", __func__);
                 fwd->allocated_port = buffer_get_int(&m);                  fwd->allocated_port = buffer_get_int(&m);
                 logit("Allocated port %u for remote forward to %s:%d",                  verbose("Allocated port %u for remote forward to %s:%d",
                     fwd->allocated_port,                      fwd->allocated_port,
                     fwd->connect_host ? fwd->connect_host : "",                      fwd->connect_host ? fwd->connect_host : "",
                     fwd->connect_port);                      fwd->connect_port);

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52