ethdump.c: improved performance