John-Mark Gurney <j...@funkthat.com> wrote in <20200402211304.gz4...@funkthat.com>:
jm> Fernando Gont wrote this message on Tue, Mar 31, 2020 at 22:18 -0300: jm> > Folks, jm> > jm> > I'm playing with rtadvd, and I'm curious about a debug message I'm jm> > getting when specifying Route Information options. jm> > jm> > My config file is this: jm> > ----- cut here ---- jm> > em0:\ jm> > :addr="fc00:1::":prefixlen=64\ jm> > :rtprefix="fc00:1::":rtplen=64:rtltime=1000 jm> > jm> > em1:\ jm> > :addr="fc00:2::":prefixlen=64\ jm> > :rtprefix="fc00:2::":rtplen=64 jm> > ---- cut here ---- jm> > jm> > And when running radvd as: jm> > /usr/sbin/rtadvd -D -f em0 em1 jm> > jm> > jm> > I get the following debug messages: jm> > ---- cut here ---- jm> > [....] jm> > rtltime should be specified for interface em0. jm> > rtadvd[1137]: <sock_mc_join> enter jm> > rtadvd[1137]: <sock_mc_join> em0: join link-local all-routers MC group jm> > rtadvd[1137]: <ra_timer_update> RA timer on em0 is set to 16:0 jm> > rtadvd[1137]: <getconfig> ifname=em0 marked as TRANSITIVE (initial burst). jm> > rtltime should be specified for interface em1. jm> > [....] jm> > ---- cut here ---- jm> > jm> > I'm curious why I get "rtltime should be specified for interface em0." jm> > since the config for em0 does specify rtltime -- unless I'm missing jm> > something. jm> jm> I only see rtltime on em0, and I don't see a closing colon after jm> rtltime on em0. Try adding a terminating colon on em0 and see if jm> the problem goes away. An integer must use "#" like "foo#0" (not "foo=0") in the configuration file. So :addr="fc00:1::":prefixlen=64\ :rtprefix="fc00:1::":rtplen=64:rtltime=1000 should be :addr="fc00:1::":prefixlen#64:\ :rtprefix="fc00:1::":rtplen#64:rtltime#1000: -- Hiroki
pgpcdBw_pjJK3.pgp
Description: PGP signature