On Thu, Dec 30, 2010 at 03:01:26PM +0100, Jerome Durand wrote:
Hi all,
I'm runnning bird6 version 1.2.5 and bird version 1.2.5 and I'm experiencing a problem:
Bird returns a syntax error at the "else:" line while bird6 tells me it's okay. Is this a well known bug or am I doing somethinig wrong? Do you see any workaround?
For me, it works as expected - with "else:" in IPv4 version. In your example (below) you are missing closing "}". But perhaps that is just a copy/paste error.
case arg1 { 2: print "two"; print "I can do more commands without {}"; 3 .. 5: print "three to five"; else: print "something else";
Note that I got the version via apt-get on Debian...
-- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."