dial.go
func MultiaddrNetMatch(tgt ma.Multiaddr, srcs []ma.Multiaddr) ma.Multiaddr {
	for _, a := range srcs {
		if MultiaddrProtocolsMatch(tgt, a) {
			return a
		}
	}
	return nil
}
func MultiaddrNetMatch(tgt ma.Multiaddr, srcs []ma.Multiaddr) ma.Multiaddr {
	for _, a := range srcs {
		if MultiaddrProtocolsMatch(tgt, a) {
			return a
		}
	}
	return nil
}
func MultiaddrNetMatch ( tgt ma . Multiaddr , srcs [ ] ma . Multiaddr ) ma . Multiaddr { for _ , a := range srcs { if MultiaddrProtocolsMatch ( tgt , a ) { return a } } return nil }
// MultiaddrNetMatch returns the first Multiaddr found to match  network.
MultiaddrNetMatch returns the first Multiaddr found to match network .