Open latysheff opened 3 years ago
Hi! Great module, thanks.
Can you please add support for multipart responses?
I guess, here one need to check MULTI flag, and collect responses, until NLMSG_DONE, and only then resolve Promise:
https://github.com/mildsunrise/node_netlink/blob/0034690cae07ea52b81c9f03949ca29ae617ad2c/lib/netlink.ts#L209
You have flag description:
/** Multipart message, terminated by NLMSG_DONE */ MULTI = 2,
Hi! Great module, thanks.
Can you please add support for multipart responses?
I guess, here one need to check MULTI flag, and collect responses, until NLMSG_DONE, and only then resolve Promise:
https://github.com/mildsunrise/node_netlink/blob/0034690cae07ea52b81c9f03949ca29ae617ad2c/lib/netlink.ts#L209
You have flag description: