commit | de01c81a92dbff7c7ab7686cd6796bf808cf6df0 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davidepesa@gmail.com> | Wed Jul 24 23:46:09 2019 -0400 |
committer | Davide Pesavento <davidepesa@gmail.com> | Thu Jul 25 19:24:04 2019 -0400 |
tree | d381e38b78991f020f664ad542902f867b7db345 | |
parent | 94dff006fc2138df1707063fa78e9b85c3c96c90 [diff] [blame] |
poke: wait indefinitely if --timeout is not specified Change-Id: I0051e65d27780d8b58a0c0febf3572b0c6a23e8c
diff --git a/tools/peek/ndnpoke/ndnpoke.hpp b/tools/peek/ndnpoke/ndnpoke.hpp index e47da81..6375512 100644 --- a/tools/peek/ndnpoke/ndnpoke.hpp +++ b/tools/peek/ndnpoke/ndnpoke.hpp
@@ -48,7 +48,7 @@ // program behavior options bool wantForceData = false; - time::milliseconds timeout = 10_s; + optional<time::milliseconds> timeout; }; class NdnPoke : boost::noncopyable