From 2f46913d96f0a2b4107384c949d07f471f59df3e Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Fri, 8 Jan 2021 09:31:56 +0100 Subject: [HICN-669] policy_t yet used in mac os 11 Signed-off-by: Angelo Mantellini Change-Id: I8d5d5c37eaab3f84a920f1753591fa4ab09f4799 --- lib/includes/hicn/policy.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/includes/hicn') diff --git a/lib/includes/hicn/policy.h b/lib/includes/hicn/policy.h index 51bab4241..3de34ee68 100644 --- a/lib/includes/hicn/policy.h +++ b/lib/includes/hicn/policy.h @@ -217,9 +217,9 @@ typedef struct { char app_name[APP_NAME_LEN]; policy_tag_state_t tags[POLICY_TAG_N]; policy_stats_t stats; -} policy_t; +} hicn_policy_t; -static const policy_t POLICY_NONE = { +static const hicn_policy_t POLICY_NONE = { .app_name = { 0 }, .tags = { #define _(x, y) [POLICY_TAG_ ## x] = { POLICY_STATE_NEUTRAL, 0 }, @@ -240,7 +240,7 @@ typedef struct { char ipv4_prefix[INET_ADDRSTRLEN + PFX_STRLEN]; char ipv6_prefix[INET6_ADDRSTRLEN + PFX_STRLEN]; }; - policy_t policy; + hicn_policy_t policy; } policy_description_t; #endif /* HICN_POLICY_H */ -- cgit 1.2.3-korg