[quagga-dev 11078] Re: [quagga-dev, 8329] quagga/bgp : Can't set tag value with network command on vpnv4.

Feng Lu lu.feng at 6wind.com
Fri Mar 7 03:13:49 GMT 2014


On 01/-9/-28163 03:59 AM, jiaxi wrote:
> ------
> bgpd(config)# router bgp 7675
> bgpd(config-router)# address-family vpnv4
> bgpd(config-router-af)# network 10.1.1.0/24 rd 100:1 tag 12345
> % Malformed tag
> bgpd(config-router-af)# network 10.1.1.0/24 rd 100:1 tag abcde
> bgpd(config-router-af)# show running-config
>     : (strip)
>   network 10.1.1.0/24 rd 100:1 tag 0<=== WRONG VALUE!!
>     : (strip)
> ------
>
> After check source code, I found out the function 'str2tag' in
> 'bgpd/bgp_mplsvpn.c', I think this is a logic error, it can't return
> expect result and the enclosure is my patch.
>
> Signed-off-by: jiaxi liu<jiaxi.liu at windriver.com>
Hi,

The problem has been fixed in this commit:
664711c1f4cc218073783ff6ce362093debd7b53

Thanks and best regards,
Feng Lu




More information about the Quagga-dev mailing list