![]() ![]() | ![]() |
version 1.51, 2009/06/05 00:20:46 | version 1.52, 2010/07/03 04:44:51 | ||
---|---|---|---|
|
|
||
if (net < 0) | if (net < 0) | ||
continue; | continue; | ||
if (rdomain) { | if (rtableid) { | ||
if (setsockopt(net, IPPROTO_IP, SO_RDOMAIN, &rdomain, | if (setsockopt(net, IPPROTO_IP, SO_RTABLE, &rtableid, | ||
sizeof(rdomain)) == -1) | sizeof(rtableid)) == -1) | ||
perror("setsockopt (SO_RDOMAIN)"); | perror("setsockopt (SO_RTABLE)"); | ||
} | } | ||
if (aliasp) { | if (aliasp) { |