Return to commands.c CVS log | Up to [local] / src / usr.bin / telnet |
version 1.54, 2013/10/21 09:02:37 | version 1.55, 2013/10/26 21:33:29 | ||
---|---|---|---|
|
|
||
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) { |