From: Steven Barth Date: Wed, 20 Mar 2013 10:24:30 +0000 (+0100) Subject: Fix priority for on-link routes for prefixes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2cc9d0fa03c68cea04111c05b139e5eaaa999fca;p=project%2Fodhcp6c.git Fix priority for on-link routes for prefixes --- diff --git a/src/ra.c b/src/ra.c index b249288..4ed5371 100644 --- a/src/ra.c +++ b/src/ra.c @@ -236,7 +236,7 @@ bool ra_process(void) struct nd_opt_prefix_info *pinfo = (struct nd_opt_prefix_info*)opt; entry.router = any; entry.target = pinfo->nd_opt_pi_prefix; - entry.priority = 0; + entry.priority = 256; entry.length = pinfo->nd_opt_pi_prefix_len; entry.valid = ntohl(pinfo->nd_opt_pi_valid_time); entry.preferred = ntohl(pinfo->nd_opt_pi_preferred_time);