netlink: fix group subscription
authorDan Williams <dcbw@redhat.com>
Wed, 21 Apr 2010 00:24:49 +0000 (17:24 -0700)
committerDan Williams <dcbw@redhat.com>
Wed, 21 Apr 2010 00:24:49 +0000 (17:24 -0700)
src/nm-netlink-monitor.c

index bfcbab7..09e7d7c 100644 (file)
@@ -702,7 +702,7 @@ nm_netlink_monitor_init (NMNetlinkMonitor *self)
 {
        NMNetlinkMonitorPrivate *priv = NM_NETLINK_MONITOR_GET_PRIVATE (self);
 
-       priv->subscriptions = g_hash_table_new (g_int_hash, g_int_equal);
+       priv->subscriptions = g_hash_table_new (g_direct_hash, g_direct_equal);
 }
 
 static void