summaryrefslogtreecommitdiffstats
path: root/lib/mnl_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mnl_utils.c')
-rw-r--r--lib/mnl_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mnl_utils.c b/lib/mnl_utils.c
index af5aa4f..6c8f527 100644
--- a/lib/mnl_utils.c
+++ b/lib/mnl_utils.c
@@ -193,6 +193,8 @@ int mnlu_gen_socket_open(struct mnlu_gen_socket *nlg, const char *family_name,
if (!nlg->nl)
goto err_socket_open;
+ nlg->version = version;
+
err = family_get(nlg, family_name);
if (err)
goto err_socket;