...
This commit is contained in:
parent
4a66f0eb37
commit
ce364a9a1a
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
#include "util.h"
|
||||
|
||||
|
||||
__inline int isprint(char e)
|
||||
{
|
||||
if (e < 0x30 || e > 0x80)
|
||||
return false;
|
||||
}
|
||||
|
||||
// hex_dumb display network packets in a good way
|
||||
void hex_dump(unsigned n, const unsigned char* buf)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue