changeset 1813:0fd64a719adf draft

Fix default onlink value.
author Roy Marples <roy@marples.name>
date Tue, 11 Dec 2012 09:51:48 +0000
parents dd6a82119f1d
children 878908ac909f
files ipv6rs.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ipv6rs.c	Tue Dec 11 09:00:49 2012 +0000
+++ b/ipv6rs.c	Tue Dec 11 09:51:48 2012 +0000
@@ -589,6 +589,7 @@
 					break;
 				ap = xmalloc(sizeof(*ap));
 				ap->new = 1;
+				ap->onlink = 0;
 				ap->prefix_len = pi->nd_opt_pi_prefix_len;
 				memcpy(ap->prefix.s6_addr,
 				   pi->nd_opt_pi_prefix.s6_addr,