netsniff-ng: nlmsg: Use correct pritnf format specifier for int
commit664dcf4217c4fc08cc43c050419fea8181d81ef1
authorTobias Klauser <tklauser@distanz.ch>
Tue, 10 Nov 2015 13:27:33 +0000 (10 14:27 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Tue, 10 Nov 2015 13:27:33 +0000 (10 14:27 +0100)
tree3c32cb97cf513ce90cc8e0da561c94cf68090cb8
parent125b8ffe5a48f1daa65e54935ede55d843141f8f
netsniff-ng: nlmsg: Use correct pritnf format specifier for int

RTA_LEN is defined as an alias of RTA_PAYLOAD which is defined as:

  #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0))

Thus use the correct format specifier %d for int instead of %lu.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_nlmsg.c