diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2015-09-11 16:57:37 +0900 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-09-15 10:47:37 +0200 |
commit | 67728607d5144cd36d056c4289c7e53f9113329a (patch) | |
tree | 7d259435a6dbde4ca70bb083df9705527117795f /proto_lldp.c | |
parent | 4669e7a1ac2112b0e9ba7c0b865fdedffbb86055 (diff) |
netsniff-ng: nlmsg: update pull size
It would be better to use NLMSG_HDRLEN instead of sizeof(*hdr)
and not to use NLMSG_PAYLOAD to get payload length, I think.
Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_lldp.c')
0 files changed, 0 insertions, 0 deletions