Hi Andrew

On Mon, Jun 11, 2012 at 02:10:51PM -0700, Andrew Klettke wrote:
> Running 5.1-RELEASE.
> 
> According to ospf6d.conf(5):
> 
>       *router-dead-time*  /seconds/
>               Set the router dead time, a.k.a. neighbor inactivity timer.  The
>               default value is 40 seconds; valid range is 2-2147483647 
> seconds.
>               When a neighbor has been inactive for router-dead-time its state
>               is set to DOWN.  Neighbors that have been inactive for more than
>               24 hours are completely removed.
> 
> 
> 
> 
> However, when I try to set this value to, say, 600000 seconds (well 
> within the range specified above), I get the following when starting 
> ospf6d:
> 
> /etc/ospf6d.conf:13: router-dead-time out of range (2-65535)
> 
> Just thought I'd bring this up, see if anyone could shed some light on this.

ospf6d started more or less as a copy of ospfd, and this is obviously
a leftover in the manpage. dead_interval in parse.y is of type
u_int32_t in ospfd and u_int16_t (65535) in ospf6d.

The commit logs explains this: "The router dead_interval switched
from 32bit to a 16bit value in OSPFv3."

I looked at this only out of curiosity and I'm not a dev, nor do I
know much about ospfd. So take this with caution :-)

Cheers
Robert

Reply via email to