kernel-netlink: Pass protocol specific enum names to socket constructor
[strongswan.git] / src / libhydra / plugins / kernel_netlink / kernel_netlink_ipsec.c
index cd94168..dfd71f3 100644 (file)
@@ -2711,7 +2711,7 @@ kernel_netlink_ipsec_t *kernel_netlink_ipsec_create()
                fclose(f);
        }
 
-       this->socket_xfrm = netlink_socket_create(NETLINK_XFRM);
+       this->socket_xfrm = netlink_socket_create(NETLINK_XFRM, xfrm_msg_names);
        if (!this->socket_xfrm)
        {
                destroy(this);