Fix bug in the specification of longoptions
Make addr6 employ libipv6