commit | 2f0a401c247078319d648973fefadb89f6b9e6e6 | [log] [tgz] |
---|---|---|
author | Junxiao Shi <git@mail1.yoursunny.com> | Mon Sep 12 22:02:29 2022 +0000 |
committer | Junxiao Shi <git@mail1.yoursunny.com> | Mon Sep 12 22:02:29 2022 +0000 |
tree | 1ea4e567953323099babcb8c22c5c91667d0ef8a | |
parent | 27dd70ca7184f749606b499811083f1b7b2c4bb1 [diff] |
examples: fix consumer Interest refs #5239 Change-Id: I9c69bf04040fd42d875fb064cc64ef47cbb0e9bc
diff --git a/examples/consumer.cpp b/examples/consumer.cpp index 359f17b..e212b6f 100644 --- a/examples/consumer.cpp +++ b/examples/consumer.cpp
@@ -50,6 +50,7 @@ run() { Interest interest(Name("/example/testApp/randomData")); + interest.setCanBePrefix(true); interest.setMustBeFresh(true); interest.setInterestLifetime(3_s); // 3 seconds