aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/src/api.c
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-04-27 09:42:17 +0000
committerGerrit Code Review <gerrit@fd.io>2020-04-27 09:42:17 +0000
commite94a00b51ce795a8629c33edefd3fcd4b4af05ef (patch)
treeda6b4eb58ec6cb6042b21b05fa194fad9b5d6b8e /ctrl/facemgr/src/api.c
parent0ea5735b98f38beacf92dfdca74b7a6d5b3f7182 (diff)
parent15ad172a847fa667c57a4594ef4158405db9a984 (diff)
Merge "[HICN-554] hicn-light refactoring" into hicn-light-ng
Diffstat (limited to 'ctrl/facemgr/src/api.c')
-rw-r--r--ctrl/facemgr/src/api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrl/facemgr/src/api.c b/ctrl/facemgr/src/api.c
index f934883de..5d48e993f 100644
--- a/ctrl/facemgr/src/api.c
+++ b/ctrl/facemgr/src/api.c
@@ -63,7 +63,7 @@
#include "interfaces/android_utility/android_utility.h"
#endif /* WITH_ANDROID_UTILITY */
-#include <hicn/ctrl/face.h>
+#include <hicn/face.h>
#include <hicn/facemgr/facelet.h>
#include "common.h"
#include "facelet_array.h"
@@ -655,7 +655,7 @@ facemgr_facelet_satisfy_rules(facemgr_t * facemgr, facelet_t * facelet)
/* Default ignore list */
if ((netdevice_type == NETDEVICE_TYPE_LOOPBACK) || (netdevice_type == NETDEVICE_TYPE_UNDEFINED)) {
DEBUG("Ignored interface '%s/%s'...", netdevice.name,
- netdevice_type_str[netdevice_type]);
+ netdevice_type_str(netdevice_type));
return -3;
}
@@ -666,7 +666,7 @@ facemgr_facelet_satisfy_rules(facemgr_t * facemgr, facelet_t * facelet)
return -1;
if (ignore) {
DEBUG("Ignored interface '%s/%s'...", netdevice.name,
- netdevice_type_str[netdevice_type]);
+ netdevice_type_str(netdevice_type));
return -3;
}