diff --git a/vrcosc-magicchatbox/Classes/Modules/NetworkStatisticsModule.cs b/vrcosc-magicchatbox/Classes/Modules/NetworkStatisticsModule.cs
index 0749f2d..2e61bf8 100644
--- a/vrcosc-magicchatbox/Classes/Modules/NetworkStatisticsModule.cs
+++ b/vrcosc-magicchatbox/Classes/Modules/NetworkStatisticsModule.cs
@@ -170,7 +170,7 @@ private async Task InitializeNetworkStatsAsync()
///
/// Asynchronously determines the active network interface.
- /// Includes both IPv4 and IPv6 statistics.
+ /// Includes only IPv4 statistics.
///
/// Cancellation token.
/// The selected active NetworkInterface or null if none found.
@@ -240,18 +240,18 @@ private int GetInterfacePriority(NetworkInterface ni)
}
///
- /// Retrieves total bytes sent and received, including both IPv4 and IPv6.
+ /// Retrieves total bytes sent and received, including only IPv4 statistics.
///
/// NetworkInterface.
/// TotalBytes struct containing BytesReceived and BytesSent.
private TotalBytes GetTotalBytes(NetworkInterface ni)
{
var ipv4Stats = ni.GetIPv4Statistics();
- var ipv6Stats = ni.GetIPStatistics();
+ // Removed IPv6 statistics to avoid duplication
return new TotalBytes
{
- BytesReceived = ipv4Stats.BytesReceived + ipv6Stats.BytesReceived,
- BytesSent = ipv4Stats.BytesSent + ipv6Stats.BytesSent
+ BytesReceived = ipv4Stats.BytesReceived,
+ BytesSent = ipv4Stats.BytesSent
};
}
@@ -297,7 +297,6 @@ private void OnTimedEvent(object state)
{
if (_activeNetworkInterface == null)
{
- // Attempt to re-initialize if the active interface is null
InitializeNetworkStatsAsync().ConfigureAwait(false);
if (_activeNetworkInterface == null)
return;
diff --git a/vrcosc-magicchatbox/MainWindow.xaml b/vrcosc-magicchatbox/MainWindow.xaml
index facca2b..bd79c51 100644
--- a/vrcosc-magicchatbox/MainWindow.xaml
+++ b/vrcosc-magicchatbox/MainWindow.xaml
@@ -7622,6 +7622,7 @@
Height="auto"
VerticalAlignment="Bottom">