*/
#include <stdio.h>
#include <unistd.h>
+#include <stdlib.h>
#include <time.h>
#include <sys/types.h>
#include "ppp_defs.h"
extern int optind;
extern char *optarg;
+void dumplog();
+void dumpppp();
+void show_time();
+void handle_ccp();
+
+int
main(ac, av)
int ac;
char **av;
exit(0);
}
+void
dumplog(f)
FILE *f;
{
show_time(f, c);
break;
default:
- printf("?%.2x\n");
+ printf("?%.2x\n", c);
}
}
}
unsigned char dbuf[8192];
+void
dumpppp(f)
FILE *f;
{
show_time(f, c);
break;
default:
- printf("?%.2x\n");
+ printf("?%.2x\n", c);
}
}
}
NULL
};
+void
handle_ccp(cp, dp, len)
struct pkt *cp;
u_char *dp;
}
}
+void
show_time(f, c)
FILE *f;
int c;