An area is either a decimal number or an IPv4 address.
authorflorian <florian@openbsd.org>
Wed, 21 Aug 2024 15:18:47 +0000 (15:18 +0000)
committerflorian <florian@openbsd.org>
Wed, 21 Aug 2024 15:18:47 +0000 (15:18 +0000)
commitf6661b320dda3f719f2b4253b032a486b584c905
tree4dfc29b492d8a6d690f79ecf61edcaf410e3e3fa
parent4f4fe40bc9d06de09f4af934b87299ab1ee3cc66
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/ospf6d/parse.y