aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/ggsn.c
diff options
context:
space:
mode:
Diffstat (limited to 'ggsn/ggsn.c')
-rw-r--r--ggsn/ggsn.c15
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)