]> The Tcpdump Group git mirrors - tcpdump/commit
Add program_name field in the netdissect_options structure
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 7 Sep 2015 17:04:50 +0000 (19:04 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 7 Sep 2015 17:13:42 +0000 (19:13 +0200)
commit0845bc813c1cc48b18cdefff0b387c110647463c
treeb3ba5945da22d9d213149eedf4a18a0ceed1930e
parentb638c78b40951d394e14dea3608f87a1cff9786f
Add program_name field in the netdissect_options structure

A program that use the library should set it. Done for tcpdump.
ndo_error() and ndo_warning() print now 'ndo->program_name'.

Moreover:
Fix indent
netdissect.h
print.c
tcpdump.c