bird filter fails after upgrade from 1.3.1 -> 1.3.2
    Matthew Whittaker-Williams 
    matthew at news-service.com
       
    Mon Aug  8 08:13:28 CEST 2011
    
    
  
Hi,
I am having some issues with a filter of mine since my last upgrade to
1.3.2.
Aug  6 00:00:04 bird: filters, line 72: AS path expected
Aug  6 00:00:04 bird: filters, line 72: AS path expected
filter national
int set asnums;
    {
        # Exceptions
        asnums = [ 286, 47377, 8514, 5430, 6848, 3300];
        # Failes on this line below: 
        if ( bgp_path.last ~ asnums) then {
             accept;
        }
        else {
            reject;
        }
    }
Changing it to :
        if bgp_path.last ~ [ 286, 47377, 8514, 5430, 6848, 3300 ] then {
                accept;
        }
Then its all fine, has the way on setting int changed?
Thanks
Kind regards,
Matthew
    
    
More information about the Bird-users
mailing list