mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +00:00
lib/rstp: Use RSTP_OPER_P2P_MAC_STATE_ENABLED instead of 1.
Signed-off by: Daniele Venturino <daniele.venturino@m3s.it> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
parent
ca98895532
commit
7ac97d76e1
@ -951,7 +951,8 @@ rstp_initialize_port_defaults__(struct rstp_port *p)
|
||||
{
|
||||
rstp_port_set_administrative_bridge_port__(p,
|
||||
RSTP_ADMIN_BRIDGE_PORT_STATE_ENABLED);
|
||||
rstp_port_set_oper_point_to_point_mac__(p, 1);
|
||||
rstp_port_set_oper_point_to_point_mac__(p,
|
||||
RSTP_OPER_P2P_MAC_STATE_ENABLED);
|
||||
rstp_port_set_path_cost__(p, RSTP_DEFAULT_PORT_PATH_COST);
|
||||
rstp_port_set_admin_edge__(p, false);
|
||||
rstp_port_set_auto_edge__(p, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user