|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.129, 2008/12/17 20:51:37 | version 1.130, 2008/12/21 19:07:35 | ||
|---|---|---|---|
|
|
||
| error = rtinit(&target->ia_ifa, RTM_ADD, flags); | error = rtinit(&target->ia_ifa, RTM_ADD, flags); | ||
| if (error == 0) | if (error == 0) | ||
| target->ia_flags |= IFA_ROUTE; | target->ia_flags |= IFA_ROUTE; | ||
| else if (error == EEXIST) { | |||
| /* | |||
| * the fact the route already exists is not an error. | |||
| */ | |||
| error = 0; | |||
| } | |||
| return error; | return error; | ||
| } | } | ||