Acked-by: Sairam Venugopal <[email protected]>




On 6/15/17, 12:46 PM, "[email protected] on behalf of Shashank 
Ram" <[email protected] on behalf of [email protected]> wrote:

>The existing code throws a warning when compiled
>with the Windows 10 SDK:
>'typedef ': ignored on left of 'NAT_ACTION' when no variable is declared
>
>Signed-off-by: Shashank Ram <[email protected]>
>---
> datapath-windows/ovsext/Conntrack.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/datapath-windows/ovsext/Conntrack.h 
>b/datapath-windows/ovsext/Conntrack.h
>index fcdd96e..04ca299 100644
>--- a/datapath-windows/ovsext/Conntrack.h
>+++ b/datapath-windows/ovsext/Conntrack.h
>@@ -69,14 +69,14 @@ typedef struct MD_LABELS {
>     struct ovs_key_ct_labels mask;
> } MD_LABELS;
> 
>-typedef enum NAT_ACTION {
>+typedef enum _NAT_ACTION {
>     NAT_ACTION_NONE = 0,
>     NAT_ACTION_REVERSE = 1 << 0,
>     NAT_ACTION_SRC = 1 << 1,
>     NAT_ACTION_SRC_PORT = 1 << 2,
>     NAT_ACTION_DST = 1 << 3,
>     NAT_ACTION_DST_PORT = 1 << 4,
>-};
>+} NAT_ACTION;
> 
> typedef struct _OVS_CT_KEY {
>     struct ct_endpoint src;
>-- 
>2.9.3.windows.2
>
>_______________________________________________
>dev mailing list
>[email protected]
>https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=Z6vowHUOjP5ysP_g372c49Nqc1vEKqHKNBkR5Q5Z7uo&m=3Dz3HHrBXQtG1qmIwlchkCobPqUjawGcRt9P4TMS6MA&s=G14YPFl6TG_Nkp3lTLYzBJsy2SiG9meKRUs8j-taX3w&e=
> 
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to