On Thu, 4 Jan 2001, James A. Crippen wrote:
On Thu, 4 Jan 2001, Ondrej Feela Filip wrote:
On Wed, 3 Jan 2001, James A. Crippen wrote: [...] Please send me complete bird.conf, I hope I'll help you then.
Okay, here it is.
---8<--- cut here ---8<---
log syslog all;
# Turn on global debugging of all protocols debug protocols all;
protocol direct { interface "*"; }
protocol kernel { learn yes; persist no; scan time 20; import all; export all; }
protocol device { scan time 20; }
protocol static { debug all; }
#protocol rip { # debug all; # honor always; # authentication none; # interface "*" { mode broadcast; }; # import all; # export all; #}
protocol ospf { # old OSPFv2 compat rfc1583compat no;
import all; export all;
area 0.0.0.0 { tick 10;
interface "eth0" { cost 10; stub no; hello 10; poll 20; retransmit 5; priority 1; wait 40; dead count 6; type broadcast; strict nonbroadcast no; authentication none; password "foobar"; # neighbors { ... }; };
interface "eth1" { cost 10; stub no; hello 10; poll 20; retransmit 5; priority 1; wait 40; dead count 6; type broadcast; strict nonbroadcast no; authentication none; password "foobar"; # neighbors { ... }; };
interface "eth2" { cost 10; stub no; hello 10; poll 20; retransmit 5; priority 1; wait 40; dead count 6; type broadcast; strict nonbroadcast no; authentication none; password "foobar"; # neighbors { ... }; }; }; }
---8<--- cut here ---8<---
I removed the "rfc1583compat no;" line and it works fine. The parser is complaining about the line below where it seems to die, I think. I just tried with the following: protocol ospf { rfc1583compat no; * import all; export all; ... } And the parser complained about the line marked (*). Removal of the line above this (the one containing "rfc1583compat no;") fixes the problem. Any idea what's happening here? This is a completely repeatable bug. 'james -- James A. Crippen <james@unlambda.com> ,-./-. Anchorage, Alaska, Lambda Unlimited: Recursion 'R' Us | |/ | USA, 61.2069 N, 149.766 W, Y = \f.(\x.f(xx)) (\x.f(xx)) | |\ | Earth, Sol System, Y(F) = F(Y(F)) \_,-_/ Milky Way.