From 3cf8232a9b37ea7eed5158a634a23e4cf1c556f1 Mon Sep 17 00:00:00 2001 From: lijie Date: Thu, 24 Jan 2019 16:32:52 +0800 Subject: 修改无法删除vxlan_info问题;修改无法正确删除dnat_policy策略问题 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/mrl_utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3