[dahdi-commits] sruffell: tools/trunk r5228 - /tools/trunk/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Nov 4 09:58:43 CST 2008
Author: sruffell
Date: Tue Nov 4 09:58:42 2008
New Revision: 5228
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5228
Log:
Fix compilation issues with the hdlc tests.
Modified:
tools/trunk/hdlcgen.c
tools/trunk/hdlcstress.c
tools/trunk/hdlctest.c
tools/trunk/hdlcverify.c
Modified: tools/trunk/hdlcgen.c
URL: http://svn.digium.com/view/dahdi/tools/trunk/hdlcgen.c?view=diff&rev=5228&r1=5227&r2=5228
==============================================================================
--- tools/trunk/hdlcgen.c (original)
+++ tools/trunk/hdlcgen.c Tue Nov 4 09:58:42 2008
@@ -56,7 +56,7 @@
fasthdlc_precalc();
- fasthdlc_init(&transmitter);
+ fasthdlc_init(&transmitter, FASTHDLC_MODE_64);
randin = open(RANDOM, O_RDONLY);
if (randin < 0) {
Modified: tools/trunk/hdlcstress.c
URL: http://svn.digium.com/view/dahdi/tools/trunk/hdlcstress.c?view=diff&rev=5228&r1=5227&r2=5228
==============================================================================
--- tools/trunk/hdlcstress.c (original)
+++ tools/trunk/hdlcstress.c Tue Nov 4 09:58:42 2008
@@ -179,7 +179,7 @@
}
ioctl(fd, DAHDI_GETEVENT);
fasthdlc_precalc();
- fasthdlc_init(&fs);
+ fasthdlc_init(&fs, FASTHDLC_MODE_64);
#if 0
print_packet(outbuf, res);
printf("FCS is %x, PPP_GOODFCS is %x\n",
Modified: tools/trunk/hdlctest.c
URL: http://svn.digium.com/view/dahdi/tools/trunk/hdlctest.c?view=diff&rev=5228&r1=5227&r2=5228
==============================================================================
--- tools/trunk/hdlctest.c (original)
+++ tools/trunk/hdlctest.c Tue Nov 4 09:58:42 2008
@@ -207,7 +207,7 @@
}
ioctl(fd, DAHDI_GETEVENT);
fasthdlc_precalc();
- fasthdlc_init(&fs);
+ fasthdlc_init(&fs, FASTHDLC_MODE_64);
for(;;) {
res = read(fd, outbuf, sizeof(outbuf));
if (hdlcmode) {
Modified: tools/trunk/hdlcverify.c
URL: http://svn.digium.com/view/dahdi/tools/trunk/hdlcverify.c?view=diff&rev=5228&r1=5227&r2=5228
==============================================================================
--- tools/trunk/hdlcverify.c (original)
+++ tools/trunk/hdlcverify.c Tue Nov 4 09:58:42 2008
@@ -70,7 +70,7 @@
fasthdlc_precalc();
- fasthdlc_init(&receiver);
+ fasthdlc_init(&receiver, FASTHDLC_MODE_64);
hdlcin = open("random.hdlc", O_RDONLY);
if (hdlcin < 0) {
More information about the dahdi-commits
mailing list