Skip to content

Commit

Permalink
lib/rstp: Use RSTP_OPER_P2P_MAC_STATE_ENABLED instead of 1.
Browse files Browse the repository at this point in the history
Signed-off by: Daniele Venturino <[email protected]>
Acked-by: Jarno Rajahalme <[email protected]>
  • Loading branch information
Daniele Venturino authored and Jarno Rajahalme committed Sep 10, 2014
1 parent ca98895 commit 7ac97d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rstp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7ac97d7

Please sign in to comment.