|
From: <cn...@us...> - 2026-04-16 23:52:58
|
Revision: 1643
http://sourceforge.net/p/seq/svn/1643
Author: cn187
Date: 2026-04-16 23:52:57 +0000 (Thu, 16 Apr 2026)
Log Message:
-----------
Update default snaplen and capture buffer size to handle recent packet size increases
Modified Paths:
--------------
showeq/trunk/src/interface.cpp
Modified: showeq/trunk/src/interface.cpp
===================================================================
--- showeq/trunk/src/interface.cpp 2026-04-16 00:52:41 UTC (rev 1642)
+++ showeq/trunk/src/interface.cpp 2026-04-16 23:52:57 UTC (rev 1643)
@@ -248,8 +248,8 @@
pSEQPrefs->getPrefString("MAC", section, "0"),
pSEQPrefs->getPrefBool("RealTimeThread", section,
false),
- pSEQPrefs->getPrefInt("CaptureSnapLen", section, 1),
- pSEQPrefs->getPrefInt("CaptureBufferSize", section, 2),
+ pSEQPrefs->getPrefInt("CaptureSnapLen", section, 2),
+ pSEQPrefs->getPrefInt("CaptureBufferSize", section, 4),
pSEQPrefs->getPrefBool("SessionTracking",
section, false),
pSEQPrefs->getPrefBool("Record", vpsection, false),
@@ -1919,7 +1919,7 @@
QSpinBox* snapLenSpinBox = new QSpinBox(tmpMenu);
snapLenSpinBox->setMinimum(1);
snapLenSpinBox->setMaximum(64);
- snapLenSpinBox->setValue(pSEQPrefs->getPrefInt("CaptureSnapLen", "Network", 1));
+ snapLenSpinBox->setValue(pSEQPrefs->getPrefInt("CaptureSnapLen", "Network", 2));
connect(snapLenSpinBox, SIGNAL(valueChanged(int)), this, SLOT(set_net_capture_snap_len(int)));
QWidgetAction* snapLenWidgetAction = new QWidgetAction(tmpMenu);
snapLenWidgetAction->setDefaultWidget(snapLenSpinBox);
@@ -1930,7 +1930,7 @@
QSpinBox* captureBufferSizeSpinBox = new QSpinBox();
captureBufferSizeSpinBox->setMinimum(2);
captureBufferSizeSpinBox->setMaximum(128);
- captureBufferSizeSpinBox->setValue(pSEQPrefs->getPrefInt("CaptureBufferSize", "Network", 2));
+ captureBufferSizeSpinBox->setValue(pSEQPrefs->getPrefInt("CaptureBufferSize", "Network", 4));
connect(captureBufferSizeSpinBox, SIGNAL(valueChanged(int)), this, SLOT(set_net_capture_buffer_size(int)));
QWidgetAction* captureBufferSizeWidgetAction = new QWidgetAction(tmpMenu);
captureBufferSizeWidgetAction->setDefaultWidget(captureBufferSizeSpinBox);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|