diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-12-04 19:19:33 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-12-04 19:19:33 +0100 |
commit | 8e7e3ef686ff18eeeb11d9de8ca48fd4bb001383 (patch) | |
tree | 794c5271aa49bff2d3c3cbc0b2c3e3d08ce8d15d /ggsn/ggsn.c | |
parent | c38bf64e3fb97f92e603fec24760b1ef856cd08d (diff) |
ggsn: Remove unused dump/logging method
Diffstat (limited to 'ggsn/ggsn.c')
-rw-r--r-- | ggsn/ggsn.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 86a9899..30771cb 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -128,21 +128,6 @@ int daemon(int nochdir, int noclose) } #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) { if (debug) |