[zaptel-commits] tzafrir: branch 1.2 r4037 - /branches/1.2/hdlcstress.c
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Thu Mar 20 20:09:04 CDT 2008
Author: tzafrir
Date: Thu Mar 20 20:09:04 2008
New Revision: 4037
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4037
Log:
Revert accidental changes to hdlcstress.c
Modified:
branches/1.2/hdlcstress.c
Modified: branches/1.2/hdlcstress.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/hdlcstress.c?view=diff&rev=4037&r1=4036&r2=4037
==============================================================================
--- branches/1.2/hdlcstress.c (original)
+++ branches/1.2/hdlcstress.c Thu Mar 20 20:09:04 2008
@@ -74,6 +74,7 @@
{
int res;
int x;
+ int out;
unsigned char outbuf[BLOCK_SIZE];
int pos=0;
unsigned int fcs = PPP_INITFCS;
@@ -112,13 +113,16 @@
int main(int argc, char *argv[])
{
int fd2;
- int res;
+ int ires, res, x;
int i;
ZT_PARAMS tp;
ZT_BUFFERINFO bi;
int bs = BLOCK_SIZE;
unsigned char c=0;
+ unsigned char inbuf[BLOCK_SIZE];
unsigned char outbuf[BLOCK_SIZE];
+ unsigned int fcs;
+ static int packets=0;
if (argc < 2) {
fprintf(stderr, "Usage: markhdlctest <tor device>\n");
exit(1);
More information about the zaptel-commits
mailing list