An area is either a decimal number or an IPv4 address.
authorflorian <florian@openbsd.org>
Wed, 21 Aug 2024 15:16:56 +0000 (15:16 +0000)
committerflorian <florian@openbsd.org>
Wed, 21 Aug 2024 15:16:56 +0000 (15:16 +0000)
commit82905b67f7c62ac1a6b6ef1d36fc9891c7a0fab1
tree3e304b76575b1885a575c8260c1294bc33065c86
parentb2b634ffc12880ef8de322341829b71e85f2b2d2
An area is either a decimal number or an IPv4 address.

This lets us replace inet_aton with inet_pton since we do not need
inet_aton's flexibility.

phessler, sthen and Tom Smyth all confirm that they never came across
a different way of specifying an area.

OK claudio, deraadt
usr.sbin/ospfd/parse.y