device: optimize hashtable usage for shared_ips
authorThomas Haller <thaller@redhat.com>
Sun, 20 Mar 2016 09:59:37 +0000 (10:59 +0100)
committerThomas Haller <thaller@redhat.com>
Sun, 20 Mar 2016 09:59:46 +0000 (10:59 +0100)
commit60cc501a665ad7fcfedcdba37557860458dca9a9
tree3218cfc797188e619ce7c47f0f098b93cce8d28d
parent6c12f04e87b439832bdbac57bc8bd85e369a0bc9
device: optimize hashtable usage for shared_ips

No point ins storing "TRUE" as value in the @shared_ips hash
table. That forces glib to allocate a separate storage for the
value. Just use g_hash_table_add() instead.
src/devices/nm-device.c