Imported into OpenBSD src/regress/usr.sbin/ospfd.