core: fix Address property type of IP6Config objects
authorDan Williams <dcbw@redhat.com>
Sun, 18 Apr 2010 00:19:30 +0000 (17:19 -0700)
committerDan Williams <dcbw@redhat.com>
Sun, 18 Apr 2010 00:19:30 +0000 (17:19 -0700)
commit1d409aeb532e9927d6d15033f2365709c342464a
tree7443b2e583ef2a6f15a93febc822eafa9f37919d
parent44ea07a5d77fb42e4f7cc97126836270319cf981
core: fix Address property type of IP6Config objects

We can change the property's D-Bus signature (and thus API) here
because querying the IP6Config object's properties caused NM to
crash.  Apparently we forgot to change the type of the Address
property when we C&P-ed the IP4Config into the IP6Config, and
DBUS_TYPE_G_ARRAY_OF_ARRAY_OF_UINT is certainly the wrong type
to use since the backing object that dbus-glib would marshal
into the ARRAY_OF_ARRAY_OF_UINT wasn't that type, causing a
crash in dbus-glib when a client got the IP6Config.
introspection/nm-ip6-config.xml
src/nm-ip6-config.c