Changeset View
Changeset View
Standalone View
Standalone View
src/settings/bridgesetting.cpp
Show All 17 Lines | 1 | /* | |||
---|---|---|---|---|---|
18 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | 18 | License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #include "bridgesetting.h" | 21 | #include "bridgesetting.h" | ||
22 | #include "bridgesetting_p.h" | 22 | #include "bridgesetting_p.h" | ||
23 | 23 | | |||
24 | #define NM_SETTING_BRIDGE_INTERFACE_NAME "interface-name" | 24 | #define NM_SETTING_BRIDGE_INTERFACE_NAME "interface-name" | ||
25 | 25 | | |||
26 | #if !NM_CHECK_VERSION(1, 2, 0) | | |||
27 | #define NM_SETTING_BRIDGE_MULTICAST_SNOOPING "multicast-snooping" | | |||
28 | #endif | | |||
29 | | ||||
30 | #include <QtCore/QDebug> | 26 | #include <QtCore/QDebug> | ||
31 | 27 | | |||
32 | NetworkManager::BridgeSettingPrivate::BridgeSettingPrivate() | 28 | NetworkManager::BridgeSettingPrivate::BridgeSettingPrivate() | ||
33 | : name(NM_SETTING_BRIDGE_SETTING_NAME) | 29 | : name(NM_SETTING_BRIDGE_SETTING_NAME) | ||
34 | , multicastSnooping(true) | 30 | , multicastSnooping(true) | ||
35 | , stp(true) | 31 | , stp(true) | ||
36 | , priority(128) | 32 | , priority(128) | ||
37 | , forwardDelay(15) | 33 | , forwardDelay(15) | ||
▲ Show 20 Lines • Show All 260 Lines • Show Last 20 Lines |