From 20a773677230374ffa2d5d140f7d46032fb7bc9d Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 18 Sep 2020 17:39:03 +0200 Subject: Revert to [HICN-638] Check if systemd is running before enabling hicn-light service Signed-off-by: Mauro Sardara Change-Id: I1810d96e001a4e6e097e1efa331b682af750925d --- lib/src/compat.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/src/compat.c') diff --git a/lib/src/compat.c b/lib/src/compat.c index db2f40e37..615175e3b 100644 --- a/lib/src/compat.c +++ b/lib/src/compat.c @@ -255,6 +255,11 @@ hicn_packet_set_name (hicn_format_t format, hicn_header_t * h, { hicn_type_t type = hicn_format_to_type (format); +#ifndef HICN_VPP_PLUGIN + if (name->type & HNT_IOV) + return HICN_LIB_ERROR_NOT_IMPLEMENTED; +#endif /* HICN_VPP_PLUGIN */ + if (is_interest) return hicn_ops_vft[type.l1]->set_interest_name (type, &h->protocol, name); -- cgit 1.2.3-korg