ip6: split nm_ip6_device_sync_from_netlink
authorPavel Šimerda <psimerda@redhat.com>
Wed, 9 May 2012 15:12:15 +0000 (17:12 +0200)
committerDan Williams <dcbw@redhat.com>
Wed, 23 May 2012 17:25:59 +0000 (12:25 -0500)
commitbe2f17790eae2fd2545acf807e003e628fc8e01a
tree0a30ae4ee8bcb697af5dccb820306601f124d3de
parentdcd392630a20c71392132c880e9ecfa1c2ac1aff
ip6: split nm_ip6_device_sync_from_netlink

Split nm_ip6_device_sync_from_netlink into multiple functions.
It will now call the smaller functions and may disappear entirely
in the future.

To share state between these (and possible future) functions,
move local variables found_linklocal, found_other and dhcp_opts
to NMIP6Device as has_linklocal and has_nonlinklocal and dhcp_opts.
src/ip6-manager/nm-ip6-manager.c