From: Daniele Venturino Date: Wed, 10 Sep 2014 16:28:00 +0000 (+0000) Subject: lib/rstp: Use RSTP_OPER_P2P_MAC_STATE_ENABLED instead of 1. X-Git-Tag: v2.4.0~1446 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=7ac97d76e1dae1f98678cbc491a45005afb92c9c;p=cascardo%2Fovs.git lib/rstp: Use RSTP_OPER_P2P_MAC_STATE_ENABLED instead of 1. Signed-off by: Daniele Venturino Acked-by: Jarno Rajahalme --- diff --git a/lib/rstp.c b/lib/rstp.c index 5914a1d0b..b213b4424 100644 --- a/lib/rstp.c +++ b/lib/rstp.c @@ -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);