summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <[email protected]>2017-08-10 15:33:36 +0200
committerSander Vrijders <[email protected]>2017-08-10 15:44:09 +0200
commitcf18d69d1e8b238c82940b4ea8173436bd53a1ce (patch)
tree072770c8575c0f5d8248ff5a4a3afa4388fe455c /include
parentf3d2ce1e668dfcf6b5088bf448b29f96d0ddaa76 (diff)
downloadouroboros-cf18d69d1e8b238c82940b4ea8173436bd53a1ce.tar.gz
ouroboros-cf18d69d1e8b238c82940b4ea8173436bd53a1ce.zip
lib, ipcpd, tools: Fix enum assignments
This fixes several assignments to the wrong enum type.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/ipcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h
index 7c34cc7d..2be47f2d 100644
--- a/include/ouroboros/ipcp.h
+++ b/include/ouroboros/ipcp.h
@@ -63,8 +63,8 @@ enum pol_dir_hash {
/* Info reported back to the IRMd about the DIF on enrollment */
struct dif_info {
- char dif_name[DIF_NAME_SIZE];
- enum pol_dir_hash dir_hash_algo;
+ char dif_name[DIF_NAME_SIZE];
+ int dir_hash_algo;
};
/* Structure to configure the first IPCP */