aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/core/interest.cc
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-05-17 15:49:27 +0200
committerAngelo Mantellini <manangel@cisco.com>2019-05-17 18:35:06 +0200
commit90256e9929e11ef720d9e9c6afc4342acacae654 (patch)
treeaffef7a37285207d337d592142930e99bab83b23 /libtransport/src/hicn/transport/core/interest.cc
parentc4ead399d98d0f9084d6be1c3a44e27e8158b26a (diff)
[HICN-200] Minor issue Android
Change-Id: Iaa24bb5568bc458967b13f51b9c91c8163b2ce52 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/core/interest.cc')
-rw-r--r--libtransport/src/hicn/transport/core/interest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/core/interest.cc b/libtransport/src/hicn/transport/core/interest.cc
index bd7b57422..e7d47d565 100644
--- a/libtransport/src/hicn/transport/core/interest.cc
+++ b/libtransport/src/hicn/transport/core/interest.cc
@@ -44,7 +44,12 @@ Interest::Interest(const Name &interest_name, Packet::Format format)
}
}
+
+#ifdef __ANDROID__
+Interest::Interest(hicn_format_t format) : Interest(Name("0::0|0"), format) {}
+#else
Interest::Interest(hicn_format_t format) : Interest(base_name, format) {}
+#endif
Interest::Interest(const uint8_t *buffer, std::size_t size)
: Packet(buffer, size) {