datapath-windows: Define NAT_ACTION enum correctly
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
Acked-by: Nithin Raju <nithin@vmware.com<mailto:nithin@vmware.com>>
Acked-by: Sairam Venugopal
Acked-by: Alin Gabriel Serdean
@@ -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;
