]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common: return iface instead of addr from ipaddr.cc helpers
authorJohn Spray <john.spray@redhat.com>
Wed, 9 Aug 2017 11:08:58 +0000 (07:08 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 9 Aug 2017 11:53:11 +0000 (07:53 -0400)
commit687ea102697b2ec64b503f16c9aaeb46bee5da99
tree13ec350be2604f34e6e972b5b4dc32d0f0d6967d
parent2efc7e756ba6ad4749e5a59f7271af3b3c47aca6
common: return iface instead of addr from ipaddr.cc helpers

So that we can use the same helper functions to look
up interface names that we use to look up addresses.

Signed-off-by: John Spray <john.spray@redhat.com>
src/common/ipaddr.cc
src/include/ipaddr.h
src/test/test_ipaddr.cc