]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
use actual mtu size
authorhades <hades>
Tue, 16 Nov 1999 16:07:22 +0000 (16:07 +0000)
committerhades <hades>
Tue, 16 Nov 1999 16:07:22 +0000 (16:07 +0000)
hadaq/nettrans.c

index 0109055390410754e363f142fdde1d3988b7afef..cc48d6a75d0963e807f6712502413b4736f71ad6 100644 (file)
@@ -1,4 +1,4 @@
-static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.7 1999-11-16 12:10:15 hades Exp $";
+static char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/nettrans.c,v 6.8 1999-11-16 16:07:22 hades Rel $";
 
 #define _XOPEN_SOURCE_EXTENDED
 #include <unistd.h>
@@ -67,7 +67,7 @@ static int openAtm(NetTrans *my, int vpi, int vci, size_t bw, int fl) {
                if (0 > retVal) {
                        deleteLAtm(my->lAtm);
                } else {
-                       my->mtuSize = 8192;
+                       my->mtuSize = LAtm_mtu(my->lAtm);
                }
        }