mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 07:20:11 +01:00
keyfile: another cur at fixing the bridge test
Fixes:2f82bf537b(cherry picked from commitc27074bf43)
This commit is contained in:
parent
5e4155b55c
commit
2f669f659e
3 changed files with 3 additions and 3 deletions
|
|
@ -3,6 +3,6 @@ ONBOOT=no
|
|||
TYPE=Bridge
|
||||
BOOTPROTO=dhcp
|
||||
STP=on
|
||||
DELAY=0
|
||||
DELAY=2
|
||||
BRIDGING_OPTS="priority=32744 hello_time=7 max_age=39 ageing_time=235352"
|
||||
MACADDR=00:16:41:11:22:33
|
||||
|
|
|
|||
|
|
@ -11212,7 +11212,7 @@ test_read_bridge_main (void)
|
|||
|
||||
s_bridge = nm_connection_get_setting_bridge (connection);
|
||||
g_assert (s_bridge);
|
||||
g_assert_cmpuint (nm_setting_bridge_get_forward_delay (s_bridge), ==, 0);
|
||||
g_assert_cmpuint (nm_setting_bridge_get_forward_delay (s_bridge), ==, 2);
|
||||
g_assert (nm_setting_bridge_get_stp (s_bridge));
|
||||
g_assert_cmpuint (nm_setting_bridge_get_priority (s_bridge), ==, 32744);
|
||||
g_assert_cmpuint (nm_setting_bridge_get_hello_time (s_bridge), ==, 7);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ type=bridge
|
|||
[bridge]
|
||||
interface-name=br0
|
||||
stp=true
|
||||
forward-delay=0
|
||||
forward-delay=2
|
||||
priority=32744
|
||||
hello-time=7
|
||||
max-age=39
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue