![dyoung](/assets/img/avatar_default.png)
avoid an indirect function call by comparing the family, length, and bytes [dom->dom_sa_cmpofs, dom->dom_sa_cmpofs + dom->dom_sa_cmplen), corresponding to the the sockaddrs' "address" members. For ISO, actually use sockaddr_iso_cmp, for a change. Thanks to yamt@ for pointing out my error.
In case you were wondering why this code is still present: The ISO (or OSI) stack is still in use by many router vendors (e.g., using IS-IS the OSI equivalent of OSPF, to carry IP routes). Chris. chopps@NetBSD.org