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

Diff for /src/usr.bin/ssh/packet.h between version 1.35.4.2 and 1.36

version 1.35.4.2, 2004/03/04 18:18:16 version 1.36, 2003/04/01 10:10:23
Line 81 
Line 81 
 void     tty_make_modes(int, struct termios *);  void     tty_make_modes(int, struct termios *);
 void     tty_parse_modes(int, int *);  void     tty_parse_modes(int, int *);
   
 extern u_int max_packet_size;  extern int max_packet_size;
 u_int    packet_set_maxsize(u_int);  int      packet_set_maxsize(int);
 #define  packet_get_maxsize() max_packet_size  #define  packet_get_maxsize() max_packet_size
   
 /* don't allow remaining bytes after the end of the message */  /* don't allow remaining bytes after the end of the message */
Line 90 
Line 90 
 do { \  do { \
         int _len = packet_remaining(); \          int _len = packet_remaining(); \
         if (_len > 0) { \          if (_len > 0) { \
                 logit("Packet integrity error (%d bytes remaining) at %s:%d", \                  log("Packet integrity error (%d bytes remaining) at %s:%d", \
                     _len ,__FILE__, __LINE__); \                      _len ,__FILE__, __LINE__); \
                 packet_disconnect("Packet integrity error."); \                  packet_disconnect("Packet integrity error."); \
         } \          } \

Legend:
Removed from v.1.35.4.2  
changed lines
  Added in v.1.36