summaryrefslogtreecommitdiffstats
path: root/lib/includes
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2021-01-08 09:31:56 +0100
committerAngelo Mantellini <angelo.mantellini@cisco.com>2021-01-08 09:31:56 +0100
commit2f46913d96f0a2b4107384c949d07f471f59df3e (patch)
tree331b33a4d84a4d4b23da617c5bec19201b9fc4e2 /lib/includes
parent82372f5a24039e4fa964e8d247d836c867d4761a (diff)
[HICN-669] policy_t yet used in mac os 11
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8d5d5c37eaab3f84a920f1753591fa4ab09f4799
Diffstat (limited to 'lib/includes')
-rw-r--r--lib/includes/hicn/policy.h6
1 files changed, 3 insertions, 3 deletions
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 */