interest: correct comment in matchesData
refs #2236
Change-Id: I8fba4d9d928103ddaa4a732721f002b85f6b9dd2
diff --git a/src/interest.cpp b/src/interest.cpp
index c1bed46..d53b949 100644
--- a/src/interest.cpp
+++ b/src/interest.cpp
@@ -192,10 +192,15 @@
return false;
// There's opportunity to inspect the Exclude filter and determine whether
// the digest would make a difference.
- // eg. "Exclude=<Any>AA" won't exclude any digest - fullName not needed
- // "Exclude=ZZ<Any>" excludes all digests - fullName not needed
- // "Exclude=<Any>80000000000000000000000000000000"
- // excludes half of the digests - fullName required
+ // eg. "<NameComponent>AA</NameComponent><Any/>" doesn't exclude any digest -
+ // fullName not needed;
+ // "<Any/><NameComponent>AA</NameComponent>" and
+ // "<Any/><ImplicitSha256DigestComponent>ffffffffffffffffffffffffffffffff
+ // </ImplicitSha256DigestComponent>"
+ // excludes all digests - fullName not needed;
+ // "<Any/><ImplicitSha256DigestComponent>80000000000000000000000000000000
+ // </ImplicitSha256DigestComponent>"
+ // excludes some digests - fullName required
// But Interests that contain the exact Data Name before digest and also
// contain Exclude filter is too rare to optimize for, so we request
// fullName no mater what's in the Exclude filter.
@@ -393,4 +398,4 @@
return os;
}
-}
+} // namespace ndn