ggsn: Remove unused dump/logging method
This commit is contained in:
parent
c38bf64e3f
commit
8e7e3ef686
15
ggsn/ggsn.c
15
ggsn/ggsn.c
|
@ -128,21 +128,6 @@ int daemon(int nochdir, int noclose)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int encaps_printf(void *p, void *packet, unsigned len)
|
|
||||||
{
|
|
||||||
unsigned int i;
|
|
||||||
if (debug) {
|
|
||||||
printf("The packet looks like this:\n");
|
|
||||||
for (i = 0; i < len; i++) {
|
|
||||||
printf("%02x ", (unsigned char)*(char *)(packet + i));
|
|
||||||
if (!((i + 1) % 16))
|
|
||||||
printf("\n");
|
|
||||||
};
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int delete_context(struct pdp_t *pdp)
|
int delete_context(struct pdp_t *pdp)
|
||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
|
|
Loading…
Reference in New Issue