The attached patch fixes the problem.
Signed-off-by: Peter Chubb <[email protected]>
Index: radvd-1.8/send.c
===================================================================
--- radvd-1.8.orig/send.c 2011-07-19 11:44:25.702210417 +1000
+++ radvd-1.8/send.c 2011-07-19 11:45:02.921645686 +1000
@@ -372,21 +372,21 @@ send_ra(struct Interface *iface, struct
*buff_ptr++ = label_len;
memcpy(buff_ptr, label, label_len);
buff_ptr += label_len;
label += label_len;
if (label[0] == '.')
label++;
- else
+ if (label[0] == '\0')
*buff_ptr++ = 0;
}
}
dnsslinfo->nd_opt_dnssli_len +=
((buff_ptr-dnsslinfo->nd_opt_dnssli_suffixes)+7)/8;
send_ra_inc_len(&len, dnsslinfo->nd_opt_dnssli_len * 8);
dnssl = dnssl->next;
}
--
Dr Peter Chubb http://www.gelato.unsw.edu.au peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au ERTOS within National ICT Australia
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]