Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.
http://bugzilla.quagga.net/show_bug.cgi?id=459
cgeorge@paradise.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From cgeorge@paradise.co.uk 2008-06-06 15:08 -------
If time() returns a negative value then OSPFD doesn't work correctly, and no
OSPF routes are created.
It is possible for time() to return a negative value on some systems when the
hw clock has been set to a time before 1970, because time_t is signed. It is
true on our system, running linux 2.2.4, and is probably true on other systems
as well.
We spotted the problem in the function ospf_spf_calculate_schedule in the file
ospf_spf.c. If time is negative a very large delay is set for the timer which
means, in effect, that the timer never matures and routes are never generated.
Possibly the solution is to use the value of ospf->spf_delay for delay, if time
() returns a negative value.
Perhaps another solution would just be to put out a warning (maybe error)
message when time() returns a negative value. The user can then set their hw
clock appropriatly.
This may seem like a trivial problem, but as new users, it took us about four
working days to find this problem, and my manager was screaming at us to dump
quagga and try something else!
Great software by the way.
Hope this helps.
Best Regards
Cliff George - Paradise Datacom
------- Additional Comments From cgeorge@paradise.co.uk 2008-06-06 15:30 -------
Should have started this off as a NEW bug not an CONFIRMED one, sorry!
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
comments should be made in the comments box of this bug
report.
http://bugzilla.quagga.net/show_bug.cgi?id=459
cgeorge@paradise.co.uk changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
------- Additional Comments From cgeorge@paradise.co.uk 2008-06-06 15:08 -------
If time() returns a negative value then OSPFD doesn't work correctly, and no
OSPF routes are created.
It is possible for time() to return a negative value on some systems when the
hw clock has been set to a time before 1970, because time_t is signed. It is
true on our system, running linux 2.2.4, and is probably true on other systems
as well.
We spotted the problem in the function ospf_spf_calculate_schedule in the file
ospf_spf.c. If time is negative a very large delay is set for the timer which
means, in effect, that the timer never matures and routes are never generated.
Possibly the solution is to use the value of ospf->spf_delay for delay, if time
() returns a negative value.
Perhaps another solution would just be to put out a warning (maybe error)
message when time() returns a negative value. The user can then set their hw
clock appropriatly.
This may seem like a trivial problem, but as new users, it took us about four
working days to find this problem, and my manager was screaming at us to dump
quagga and try something else!
Great software by the way.
Hope this helps.
Best Regards
Cliff George - Paradise Datacom
------- Additional Comments From cgeorge@paradise.co.uk 2008-06-06 15:30 -------
Should have started this off as a NEW bug not an CONFIRMED one, sorry!
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs