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

Diff for /src/usr.bin/ssh/channels.c between version 1.246 and 1.247

version 1.246, 2006/03/25 18:56:54 version 1.247, 2006/03/25 18:58:10
Line 1048 
Line 1048 
         debug2("channel %d: socks5 post auth", c->self);          debug2("channel %d: socks5 post auth", c->self);
         if (have < sizeof(s5_req)+1)          if (have < sizeof(s5_req)+1)
                 return 0;                       /* need more */                  return 0;                       /* need more */
         memcpy((char *)&s5_req, p, sizeof(s5_req));          memcpy(&s5_req, p, sizeof(s5_req));
         if (s5_req.version != 0x05 ||          if (s5_req.version != 0x05 ||
             s5_req.command != SSH_SOCKS5_CONNECT ||              s5_req.command != SSH_SOCKS5_CONNECT ||
             s5_req.reserved != 0x00) {              s5_req.reserved != 0x00) {

Legend:
Removed from v.1.246  
changed lines
  Added in v.1.247