On Mon, Oct 29, 2018 at 10:26:40PM +0100, Pierre Emeriaud wrote:
> Le lun. 29 oct. 2018 à 22:04, Claudio Jeker <[email protected]> a 
> écrit :
> >
> > Another option is to set the rtlabel on the interface and then use network
> > rtlabel to redistribute it.
> 
> I tried that, but it's refused by bgpd parser:
> 
> $ doas bgpd -n
> /etc/bgpd.conf:39: syntax error
> $ doas nl -ba -nln /etc/bgpd.conf | grep ^39
> 39      network inet6 rtlabel 42
> 
> I do have routes with this label:
> $ route -n show -label 42
> Internet6:
> Destination                        Gateway
> Flags   Refs      Use   Mtu  Prio Iface
> 2001:db8:3cc:10:1000::1            2001:db8:3cc:10:1000::1        UHl
>       0        0 32768     1 lo0
> 
> I wanted to upgrade to 6.4 before re-trying that, this is done, but no
> luck. Am I missing something obvious?

This is a problem of the parser. Use "42" with the quotes to make the
number a string. Or use a non-digit label (as you figured out already).

-- 
:wq Claudio

Reply via email to