diff options
author | Thomas Haller <thaller@redhat.com> | 2013-10-30 23:47:58 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2013-12-09 17:21:22 +0100 |
commit | a032d82e2ade03ac0393c6d2e80558221944c6e1 (patch) | |
tree | 13e21bc7a1e38c1224582243e53dd011a258341e /libnm-util | |
parent | 6f2cfe263eabd452ad4efeb979ca9ef1db0578d7 (diff) |
core: refactor ip6_addr_to_string in nm-dns-dnsmasq
ip6_addr_to_string did assume, that inet_ntop might write a scope id to
the result. But it does not (and cannot, because struct in6_addr does
not have any interface identifer).
Simplify and rework the function.
Also fix a memory leak.
https://bugzilla.gnome.org/show_bug.cgi?id=711684
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'libnm-util')
0 files changed, 0 insertions, 0 deletions