From 2cc9d0fa03c68cea04111c05b139e5eaaa999fca Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 20 Mar 2013 11:24:30 +0100 Subject: [PATCH] Fix priority for on-link routes for prefixes --- src/ra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5