From 99122b5d0da14bfb36cc3760bc6637d396b83cda Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 18 Jun 2007 23:10:07 +0000 Subject: package works now --- anytun.cpp | 160 +++++++++++++++++-------------------------------------------- 1 file changed, 43 insertions(+), 117 deletions(-) (limited to 'anytun.cpp') diff --git a/anytun.cpp b/anytun.cpp index 8213df3..daae3bc 100644 --- a/anytun.cpp +++ b/anytun.cpp @@ -39,6 +39,17 @@ #include "cypher.h" #include "authAlgo.h" +void printStat(Package& pack) +{ + std::cout << "pack[0-" << pack.getLength() << "]: '"; + for(unsigned int i=0; i