parent
dcdbb2c667
commit
bc1a6842db
@ -1,14 +1 @@
|
||||
/networkmanager-qt-5.18.0.tar.xz
|
||||
/networkmanager-qt-5.19.0.tar.xz
|
||||
/networkmanager-qt-5.20.0.tar.xz
|
||||
/networkmanager-qt-5.21.0.tar.xz
|
||||
/networkmanager-qt-5.22.0.tar.xz
|
||||
/networkmanager-qt-5.23.0.tar.xz
|
||||
/networkmanager-qt-5.24.0.tar.xz
|
||||
/networkmanager-qt-5.25.0.tar.xz
|
||||
/networkmanager-qt-5.26.0.tar.xz
|
||||
/networkmanager-qt-5.27.0.tar.xz
|
||||
/networkmanager-qt-5.29.0.tar.xz
|
||||
/networkmanager-qt-5.31.0.tar.xz
|
||||
/networkmanager-qt-5.32.0.tar.xz
|
||||
/networkmanager-qt-5.33.0.tar.xz
|
||||
/networkmanager-qt-5.34.0.tar.xz
|
||||
|
@ -1,44 +0,0 @@
|
||||
From d039943788dd08a5e2b1611732e3cfb6c2f64f26 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Grulich <jgrulich@redhat.com>
|
||||
Date: Wed, 12 Apr 2017 14:02:19 +0200
|
||||
Subject: Set default value for auto-negotiation based on running NM version
|
||||
|
||||
When running NM 1.6.0 and newer the default value is false, while previous
|
||||
versions used to set it to true.
|
||||
---
|
||||
src/settings/wiredsetting.cpp | 11 +++++++++--
|
||||
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/settings/wiredsetting.cpp b/src/settings/wiredsetting.cpp
|
||||
index d366f31..8fb3659 100644
|
||||
--- a/src/settings/wiredsetting.cpp
|
||||
+++ b/src/settings/wiredsetting.cpp
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "wiredsetting.h"
|
||||
#include "wiredsetting_p.h"
|
||||
+#include "manager.h"
|
||||
|
||||
#if !NM_CHECK_VERSION(1, 0, 0)
|
||||
#include <nm-setting-wired.h>
|
||||
@@ -32,10 +33,16 @@ NetworkManager::WiredSettingPrivate::WiredSettingPrivate()
|
||||
, port(NetworkManager::WiredSetting::UnknownPort)
|
||||
, speed(0)
|
||||
, duplex(NetworkManager::WiredSetting::UnknownDuplexType)
|
||||
- , autoNegotiate(false)
|
||||
+ // , autonegotiate(false)
|
||||
, mtu(0)
|
||||
, s390NetType(NetworkManager::WiredSetting::Undefined)
|
||||
-{ }
|
||||
+{
|
||||
+ if (NetworkManager::checkVersion(1, 6, 0)) {
|
||||
+ autoNegotiate = false;
|
||||
+ } else {
|
||||
+ autoNegotiate = true;
|
||||
+ }
|
||||
+}
|
||||
|
||||
NetworkManager::WiredSetting::WiredSetting()
|
||||
: Setting(Setting::Wired)
|
||||
--
|
||||
cgit v0.11.2
|
@ -1 +1 @@
|
||||
SHA512 (networkmanager-qt-5.33.0.tar.xz) = 4e488838d7464ed3a81203d257f0af23759540931ef648e38f0aa985d2958fa170b35ad51821fb5cb10f9def3171be9d879f626bea00b7d473cfd0a338b8d5a3
|
||||
SHA512 (networkmanager-qt-5.34.0.tar.xz) = debd4a2e994c9774149c9c9f09f249f9710aaef3356b05d3ce9e31c0630f1c10e384d7b90ecf5e722e18d4416fb3bc970e2f19614e16aa6432eecddd14b4f800
|
||||
|
Loading…
Reference in new issue