On Mon, Apr 29, 2019 at 11:53:27AM +1000, David Gwynne wrote:
> it's always bothered me that i config areas on a crisco using a number,
> but then have to think hard to convert that number to an address for use
> in openbsd. eg, i was given area 700 in one place, which is 0.0.2.188
> as an address. super annoying.

I don't use Cisco and I don't use numbers.  Fine to me if you make
ospfd.conf more flexible.  The only thing about notation I found
in RFC 2328 is:

        The OSPF backbone is the special OSPF Area 0 (often written as
        Area 0.0.0.0, since OSPF Area ID's are typically formatted as IP
        addresses).

> so this changes the ospfd parser so it accepts both a number or address.
> i also changed it so it prints the number by default, which may be
> contentious. the manpage is slightly tweaked too.

Please keep it as it is.  ospfctl show database uses the dot notation
everywhere.  It would break my scripts if you change that.

bluhm

Reply via email to