core: fix builds with older gcc (like 4.4.x)

This commit is contained in:
Dan Williams
2015-11-10 11:10:03 -06:00
parent 4ce43fd5e6
commit 09a2be3b65

View File

@@ -275,7 +275,7 @@ struct _NMUtilsIPv6IfaceId {
};
};
#define NM_UTILS_IPV6_IFACE_ID_INIT { .id = 0 }
#define NM_UTILS_IPV6_IFACE_ID_INIT { { .id = 0 } }
gboolean nm_utils_get_ipv6_interface_identifier (NMLinkType link_type,
const guint8 *hwaddr,