netsniff-ng: nlmsg: Display "(none)" instead of "()" for zero flags
commit67fc4a906aa73700ce84edaceb7fee189ba3771f
authorTobias Klauser <tklauser@distanz.ch>
Mon, 19 Oct 2015 15:15:16 +0000 (19 17:15 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 19 Oct 2015 15:15:16 +0000 (19 17:15 +0200)
tree2f83494605e0e7c102d38df7f2be74535f3d6f61
parentfc4646bc31e37c3e48d772fe11035f82277ece24
netsniff-ng: nlmsg: Display "(none)" instead of "()" for zero flags

nl_nlmsg_flags2str() returns an empty string if the provided flags
argument is 0. Check this condition and display "none" instead to make
the output nicer to read.

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