Skip to content

Commit 7fffb72

Browse files
committed
interest: update the documentation of matchesData()
The behavior changed in commit 0af48fb [skip ci] Refs: #5270 Change-Id: I9a46c1960b8c3b5d1b647c661c4a843e47c4de0d
1 parent 25d9c9f commit 7fffb72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ndn-cxx/interest.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ class Interest : public PacketBase, public std::enable_shared_from_this<Interest
157157
/**
158158
* @brief Check if this Interest can be satisfied by @p data.
159159
*
160-
* This method considers `Name`, `CanBePrefix`, and `MustBeFresh`. However, `MustBeFresh`
161-
* evaluation is limited to rejecting Data with zero/omitted `FreshnessPeriod`.
160+
* This method considers only `Name` (including `ImplicitSha256Digest` if present) and
161+
* `CanBePrefix` to determine whether the Data satisfies the Interest.
162162
*/
163163
[[nodiscard]] bool
164164
matchesData(const Data& data) const;

0 commit comments

Comments
 (0)