Problem with if statements containing && or || expressions

mikma.bird at lists.m7n.se mikma.bird at lists.m7n.se
Mon Jan 6 11:49:15 CET 2020


On 2020-01-06 04:26, Ondrej Zajicek wrote:
> On Sat, Jan 04, 2020 at 09:46:52PM +0100, mikma.bird at lists.m7n.se wrote:
>> Hello,
>>
>> I'm having problems with if statements containing &&, or ||. Why do the
>> config file below cause the following error?
> 
> Hello
> 
> Works for me in current devel branch. In which version do you experience
> the error? 2.0.7 or older?


I used the current devel branch (commit cc75b3e1). And I have built it 
on three systems (all x86_64), Ubuntu 18.04, 19.10, and CentOS 7.7, all 
with the same error when running the test case.

I have made a "git bisect" now and found 10c4cd96 is the first bad 
commit using the same test case. After reverting commit 10c4cd96 I get 
"Success" on the test case.

Result from git bisect:

10c4cd9677555e88a4ac8c95784aa281655e3326 is the first bad commit
commit 10c4cd9677555e88a4ac8c95784aa281655e3326
Author: Ondrej Zajicek (work) <santiago at crfreenet.org>
Date:   Tue Nov 5 15:14:57 2019 +0100

     Filter: Add type info for more instructions

:040000 040000 6447441306f4d6300986d78eac3efeb92bde656c 
2bbef7a1e0d4c6e3d7b61e2f0700fba04a3917ba M	filter

/Mikael


More information about the Bird-users mailing list