summaryrefslogtreecommitdiffstats
path: root/src/plugins/cnat/cnat_src_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cnat/cnat_src_policy.h')
-rw-r--r--src/plugins/cnat/cnat_src_policy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/cnat/cnat_src_policy.h b/src/plugins/cnat/cnat_src_policy.h
index d76de8bd2cd..3057f641464 100644
--- a/src/plugins/cnat/cnat_src_policy.h
+++ b/src/plugins/cnat/cnat_src_policy.h
@@ -32,9 +32,8 @@ typedef enum
typedef enum cnat_source_policy_errors_
{
- CNAT_SOURCE_ERROR_EXHAUSTED_PORTS,
- CNAT_SOURCE_ERROR_USE_DEFAULT,
- CNAT_SOURCE_N_ERRORS,
+ CNAT_SOURCE_ERROR_EXHAUSTED_PORTS = 1,
+ CNAT_SOURCE_ERROR_USE_DEFAULT = 2,
} cnat_source_policy_errors_t;
typedef struct cnat_src_port_allocator_