summaryrefslogtreecommitdiff
path: root/keypair.c
diff options
context:
space:
mode:
authorKen-ichirou MATSUZAWA <chamaken@gmail.com>2015-09-11 16:58:44 +0900
committerTobias Klauser <tklauser@distanz.ch>2015-09-15 10:49:56 +0200
commitb3a9f17eb9c7a47e6c4aee3649179b2a54d17eca (patch)
tree168b64bdf71b17bc1f612ce3ea666dce4253ade5 /keypair.c
parent67728607d5144cd36d056c4289c7e53f9113329a (diff)
netsniff-ng: nlmsg: mmaped packet check
The size of mmaped netlink packet is equals to its frame size, so may be different from actual size. It can be checked by the next nlmsg len is 0 or not, and trim it in that case. Signed-off-by: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'keypair.c')
0 files changed, 0 insertions, 0 deletions