]> The Tcpdump Group git mirrors - tcpdump/commit
Have "ascii_print()" do the "-A" output, and nothing but the "-A"
authorguy <guy>
Wed, 6 Jul 2005 20:53:30 +0000 (20:53 +0000)
committerguy <guy>
Wed, 6 Jul 2005 20:53:30 +0000 (20:53 +0000)
commite085b97e4b488bfd158529331e20ebaeb2b79f0f
tree64f3bcdf6734d0815e94197fc27dfaded1c249c0
parent7b97a6070196cce6dbab95fe4a57ccff0476f1cb
Have "ascii_print()" do the "-A" output, and nothing but the "-A"
output.  Have "hex_and_ascii_print_with_offset()" and
"hex_and_ascii_print()" to the "-X"-style offset, leaving
"hex_print_with_offset()" and "hex_print()" doing the "-x"-style output.
Don't have any of them check "xflag", "Xflag", or "Aflag" - they print
what they're intended to print, and the caller should check the flags in
question.

Don't have "-A" set "xflag" or "Xflag".

This cleans up some problems with "-A" printing hex informatioin - it's
not supposed to.
interface.h
netdissect.h
print-ascii.c
tcpdump.c