netsniff-ng: nlmsg: Define NTF_* constants if not provided by kernel headers
commitc7d92d93ff8d942db93680655275ec1c60754b98
authorTobias Klauser <tklauser@distanz.ch>
Mon, 29 Jun 2015 09:27:28 +0000 (29 11:27 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 29 Jun 2015 09:33:40 +0000 (29 11:33 +0200)
tree4e8c2fc880573668ec8ba1a773082948ef3cbb81
parent382bc0047d33ada5f4b33cab077aa369eb9cb7f7
netsniff-ng: nlmsg: Define NTF_* constants if not provided by kernel headers

NTF_SELF and NTF_MASTER might not be defined on older kernel versions (as
is e.g. the case in the Travis CI build failing [1]). Fix this by
conditionally defining all NTF_* constants.

[1] https://travis-ci.org/netsniff-ng/netsniff-ng/jobs/68779130

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