[ovs-dev] [PATCH] lib/rstp: Use RSTP_OPER_P2P_MAC_STATE_ENABLED instead of 1.

Jarno Rajahalme jrajahalme at nicira.com
Wed Sep 10 16:46:10 UTC 2014


Acked-by: Jarno Rajahalme <jrajahalme at nicira.com>

& pushed to master,

  Jarno

On Sep 10, 2014, at 1:28 AM, Daniele Venturino <daniele.venturino at m3s.it> wrote:

> Signed-off by: Daniele Venturino <daniele.venturino at m3s.it>
> ---
> lib/rstp.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/rstp.c b/lib/rstp.c
> index 5914a1d..b213b44 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);
> -- 
> 1.8.1.2
> 




More information about the dev mailing list