summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlijie <[email protected]>2019-01-24 16:32:52 +0800
committerlijie <[email protected]>2019-01-24 16:32:52 +0800
commit3cf8232a9b37ea7eed5158a634a23e4cf1c556f1 (patch)
treecb9cd1d0512ad72d4fa2c3be66058dd079a1bcad /include
parent75f6f2e2237a9e1254d3d14f945ddba7c8dc5b81 (diff)
修改无法删除vxlan_info问题;修改无法正确删除dnat_policy策略问题v2.0.3develop
Diffstat (limited to 'include')
-rw-r--r--include/mrl_utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mrl_utils.h b/include/mrl_utils.h
index 56d2759..794221c 100644
--- a/include/mrl_utils.h
+++ b/include/mrl_utils.h
@@ -56,6 +56,7 @@
#define MRL_CLOSED_LOCATION -1
#define MRL_INSIDE_LOCATION 0
#define MRL_OUTSIDE_LOCATION 1
+#define MRL_UNDEFINED_LOCATION 2
#define MRL_COUNTRY_LEVEL 0
#define MRL_PROVINCE_LEVEL 1
@@ -107,6 +108,6 @@ int mrl_get_pkt_tuple(const char *raw_packet, struct mrl_tuple *five_tuple);
void mrl_mmdb_init(const char *path);
-int mrl_is_inside_ip(const char *ip_addr);
+int mrl_is_outside_ip(const char *ip_addr);
#endif