]> git-server-git.apps.pok.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)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 23 Aug 2017 13:25:55 +0000 (15:25 +0200)
commit29ea3cb77a515835841cf89ebde38851c2c6e5c4
tree21362f49274ed249c989e5428f573dd531635683
parentc4e37e01b4eefc50609b2d2f409cd92137c3423c
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>
(cherry picked from commit 687ea102697b2ec64b503f16c9aaeb46bee5da99)
src/common/ipaddr.cc
src/include/ipaddr.h
src/test/test_ipaddr.cc