Disable alternative routing tables

This commit is contained in:
Sebastian Huber
2013-10-10 14:45:09 +02:00
parent 3842b81723
commit 549488b572
10 changed files with 35 additions and 2 deletions

View File

@@ -372,7 +372,11 @@ socreate(int dom, struct socket **aso, int type, int proto,
so->so_cred = crhold(cred);
if ((prp->pr_domain->dom_family == PF_INET) ||
(prp->pr_domain->dom_family == PF_ROUTE))
#ifndef __rtems__
so->so_fibnum = td->td_proc->p_fibnum;
#else /* __rtems__ */
so->so_fibnum = BSD_DEFAULT_FIB;
#endif /* __rtems__ */
else
so->so_fibnum = 0;
so->so_proto = prp;