|
From: <cn...@us...> - 2026-04-17 13:39:08
|
Revision: 1645
http://sourceforge.net/p/seq/svn/1645
Author: cn187
Date: 2026-04-17 13:39:05 +0000 (Fri, 17 Apr 2026)
Log Message:
-----------
Update default snaplen and capture buffer size to handle recent packet size increases
Modified Paths:
--------------
showeq/branches/cn187_devel/src/interface.cpp
Modified: showeq/branches/cn187_devel/src/interface.cpp
===================================================================
--- showeq/branches/cn187_devel/src/interface.cpp 2026-04-17 13:37:35 UTC (rev 1644)
+++ showeq/branches/cn187_devel/src/interface.cpp 2026-04-17 13:39:05 UTC (rev 1645)
@@ -254,8 +254,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),
@@ -1956,7 +1956,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);
@@ -1967,7 +1967,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.
|