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

Diff for /src/usr.bin/telnet/commands.c between version 1.54 and 1.55

version 1.54, 2013/10/21 09:02:37 version 1.55, 2013/10/26 21:33:29
Line 2396 
Line 2396 
         if (net < 0)          if (net < 0)
             continue;              continue;
   
         if (setsockopt(net, SOL_SOCKET, SO_RTABLE, &rtableid,          if (rtableid >= 0 && (setsockopt(net, SOL_SOCKET, SO_RTABLE, &rtableid,
             sizeof(rtableid)) == -1)              sizeof(rtableid)) == -1))
                 perror("setsockopt (SO_RTABLE)");                  perror("setsockopt (SO_RTABLE)");
   
         if (aliasp) {          if (aliasp) {

Legend:
Removed from v.1.54  
changed lines
  Added in v.1.55