aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/core/interest.cc
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-05-20 09:15:37 +0000
committerGerrit Code Review <gerrit@fd.io>2019-05-20 09:15:37 +0000
commit7d93a4e00022cc2a46b4580c8befaa629aae4bfc (patch)
tree683ce5941be6e26f455d6ab1661e07bc6e533c13 /libtransport/src/hicn/transport/core/interest.cc
parent250e5f768a75a62b001c16932e06055fa64a1a27 (diff)
parent90256e9929e11ef720d9e9c6afc4342acacae654 (diff)
Merge "[HICN-200] Minor issue Android"
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) {