genl_ctrl_resolve with "nlctrl" is it needed ?

David Shwatrz dshwatrz at gmail.com
Sat Sep 13 07:48:55 PDT 2014


Helllo,
I had commented the following lines in tests/test-genl.c of the most
recent git repo:

+       //if (genl_ctrl_resolve(sock, "nlctrl") != GENL_ID_CTRL)
+       //      nl_cli_fatal(NLE_INVAL, "Resolving of \"nlctrl\" failed");


And building and running it gives the same result as before.

Why is genl_ctrl_resolve(sock, "nlctrl") != GENL_ID_CTRL) needed ?
can it be removed ?

regards,
DavidS



More information about the libnl mailing list