HI DK,

If you would send the patch, I would push it.

Regards
KK

On 29 April 2010 19:23, DK Moon <[email protected]> wrote:
> Hi there,
> openflow-default.hh hardcoded SEND_FLOW_REMOVED and DEFAULT_FLOW_TIMEOUT.
> Can you please change them so we can override through a compiler option?
> Best,
> DK
>
> diff --git a/src/include/openflow-default.hh b/src/include/openflow-default.
> index 877fcb7..4e98dfe 100644
> --- a/src/include/openflow-default.hh
> +++ b/src/include/openflow-default.hh
> @@ -21,11 +21,15 @@
>
>  /** Send flow removed messages
>   */
> -#define SEND_FLOW_REMOVED true
> +#ifndef SEND_FLOW_REMOVED
> +  #define SEND_FLOW_REMOVED true
> +#endif
>
>  /** Default idle timeout for flows
>   */
> -#define DEFAULT_FLOW_TIMEOUT 5
> +#ifndef DEFAULT_FLOW_TIMEOUT
> +  #define DEFAULT_FLOW_TIMEOUT 5
> +#endif
>
>  /** Provide default flags for flow_mod
>   */
>
>
>
> _______________________________________________
> nox-dev mailing list
> [email protected]
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
>

_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to