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

Diff for /src/usr.bin/ssh/canohost.c between version 1.15 and 1.16

version 1.15, 2000/09/07 21:13:37 version 1.16, 2000/10/21 17:04:22
Line 123 
Line 123 
                 else                  else
                         ipproto = IPPROTO_IP;                          ipproto = IPPROTO_IP;
                 option_size = sizeof(options);                  option_size = sizeof(options);
                 if (getsockopt(0, ipproto, IP_OPTIONS, (char *) options,                  if (getsockopt(socket, ipproto, IP_OPTIONS, (char *) options,
                     &option_size) >= 0 && option_size != 0) {                      &option_size) >= 0 && option_size != 0) {
                         cp = text;                          cp = text;
                         /* Note: "text" buffer must be at least 3x as big as options. */                          /* Note: "text" buffer must be at least 3x as big as options. */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16