libnl
libnl copied to clipboard
Request flag is missing?
if (!(msg = nlmsg_alloc_simple(XFRM_MSG_GETSA, 0)))
I think that NLM_F_REQUEST
flag should have been the second argument in the above function call nlmsg_alloc_simple
.
This code is from xfrmnl_sa_build_get_request
function defined in the file lib/xfrm/sa.c
In order to avoiding the Devil's Numbers?