ACK,
Mathi

> -----Original Message-----
> From: Hans Nordeback [mailto:[email protected]]
> Sent: Thursday, August 11, 2016 2:38 PM
> To: [email protected]; Mathivanan Naickan Palanivelu
> Cc: [email protected]
> Subject: [PATCH 1 of 1] fm: Enabling remote fencing is not correct [#1949]
> 
>  osaf/services/infrastructure/fm/fms/fm_main.c |  9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/osaf/services/infrastructure/fm/fms/fm_main.c
> b/osaf/services/infrastructure/fm/fms/fm_main.c
> --- a/osaf/services/infrastructure/fm/fms/fm_main.c
> +++ b/osaf/services/infrastructure/fm/fms/fm_main.c
> @@ -401,8 +401,13 @@ static uint32_t fm_get_args(FM_CB *fm_cb
>       fm_cb->use_remote_fencing = false;
>       use_remote_fencing = getenv("FMS_USE_REMOTE_FENCING");
>       if (use_remote_fencing != NULL) {
> -             fm_cb->use_remote_fencing = true;
> -             LOG_NO("Remote fencing is enabled");
> +             int use_fencing = strtol(use_remote_fencing, NULL, 10);
> +             if (use_fencing == 1) {
> +                     fm_cb->use_remote_fencing = true;
> +                     LOG_NO("Remote fencing is enabled");
> +             } else {
> +                     LOG_NO("Remote fencing is disabled");
> +             }
>       }
> 
>       value = getenv("EE_ID");

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to