Felix Kronlage <f...@hazardous.org> writes:

>  +  /* routing domain */
> -+  int rdomain;
> ++  int rtable;
>  +

> -+    if (setsockopt (sd, IPPROTO_IP, SO_RDOMAIN, &rdomain, sizeof(rdomain)) 
> == -1)
> -+      msg (M_SOCKERR, "Socket flags: SO_RDOMAIN=%d failed, cannot bind on 
> specified routing domain", rdomain);
> ++    if (setsockopt (sd, IPPROTO_IP, SO_RTABLE, &rtable, sizeof(rtable)) == 
> -1)
> ++      msg (M_SOCKERR, "Socket flags: SO_RTABLE=%d failed, cannot bind on 
> specified routing domain", rtable);

>  +      /* set the routing domain for the socket */
> -+      socket_set_rdomain (sock->sd, rdomain);
> ++      socket_set_rtable (sock->sd, rtable);
>  +

Maybe these comments and messages should be updated from routing
domain to routing table ?

-- 
Guillaume Pinot               http://www.irccyn.ec-nantes.fr/~pinot/

« Les grandes personnes ne comprennent jamais rien toutes seules, et
c'est fatigant, pour les enfants, de toujours leur donner des
explications... » -- Antoine de Saint-Exupéry, Le Petit Prince

()  ASCII ribbon campaign      -- Against HTML e-mail
/\  http://www.asciiribbon.org -- Against proprietary attachments

Reply via email to