Commit ef498b1f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Install routes with global scope.

parent aaf414d4
...@@ -591,7 +591,7 @@ kernel_route(int operation, const unsigned char *dest, unsigned short plen, ...@@ -591,7 +591,7 @@ kernel_route(int operation, const unsigned char *dest, unsigned short plen,
rtm->rtm_family = AF_INET6; rtm->rtm_family = AF_INET6;
rtm->rtm_dst_len = plen; rtm->rtm_dst_len = plen;
rtm->rtm_table = RT_TABLE_MAIN; rtm->rtm_table = RT_TABLE_MAIN;
rtm->rtm_scope = RT_SCOPE_LINK; rtm->rtm_scope = RT_SCOPE_UNIVERSE;
if(metric < KERNEL_INFINITY) if(metric < KERNEL_INFINITY)
rtm->rtm_type = RTN_UNICAST; rtm->rtm_type = RTN_UNICAST;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment