summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-19 17:15:16 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-19 17:15:16 +0200
commit67fc4a906aa73700ce84edaceb7fee189ba3771f (patch)
tree2f83494605e0e7c102d38df7f2be74535f3d6f61 /netsniff-ng.c
parentfc4646bc31e37c3e48d772fe11035f82277ece24 (diff)
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>
Diffstat (limited to 'netsniff-ng.c')
0 files changed, 0 insertions, 0 deletions