Re: Expression calculation bug?

2010-12-24 Thread Ondrej Zajicek
On Fri, Dec 24, 2010 at 11:23:44PM +0200, Alexander Shikoff wrote: > Hello, > > There is possible bug in calculation of expressions. > Let's assume that bgp_path.first is a 32-bit ASN. > > Then this line does not work: > bgp_community.add((MyASN,bgp_path.first-bgp_path.first/65536*65536)); > > P.

Expression calculation bug?

2010-12-24 Thread Alexander Shikoff
Hello, There is possible bug in calculation of expressions. Let's assume that bgp_path.first is a 32-bit ASN. Then this line does not work: bgp_community.add((MyASN,bgp_path.first-bgp_path.first/65536*65536)); It does not raise syntax error etc. but bird stops announces of prefix which the addi