From cf18d69d1e8b238c82940b4ea8173436bd53a1ce Mon Sep 17 00:00:00 2001
From: Sander Vrijders <sander.vrijders@ugent.be>
Date: Thu, 10 Aug 2017 15:33:36 +0200
Subject: lib, ipcpd, tools: Fix enum assignments

This fixes several assignments to the wrong enum type.
---
 include/ouroboros/ipcp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'include')

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 */
-- 
cgit v1.2.3