aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-10-16 17:26:19 +0900
committerBen Pfaff <blp@nicira.com>2013-10-17 09:55:39 -0700
commitaa0667bcdbe79074c8c55cc529f10570da5798cb (patch)
treef9bd29b2b008da0985c5ff67d900062d89fa6d42
parent3f0f48cfe1519226b70653e5b50f7b3da5fbce41 (diff)
nx-match: Fix comments.
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: Ben Pfaff <blp@nicira.com>
-rw-r--r--lib/nx-match.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/nx-match.c b/lib/nx-match.c
index 15143f17..11cbff3d 100644
--- a/lib/nx-match.c
+++ b/lib/nx-match.c
@@ -280,8 +280,8 @@ oxm_pull_match__(struct ofpbuf *b, bool strict, struct match *match)
strict, match, NULL, NULL);
}
-/* Parses the oxm formatted match description preceded by a struct ofp11_match
- * in 'b' with length 'match_len'. Stores the result in 'match'.
+/* Parses the oxm formatted match description preceded by a struct
+ * ofp11_match_header in 'b'. Stores the result in 'match'.
*
* Fails with an error when encountering unknown OXM headers.
*
@@ -293,7 +293,7 @@ oxm_pull_match(struct ofpbuf *b, struct match *match)
}
/* Behaves the same as oxm_pull_match() with one exception. Skips over unknown
- * PXM headers instead of failing with an error when they are encountered. */
+ * OXM headers instead of failing with an error when they are encountered. */
enum ofperr
oxm_pull_match_loose(struct ofpbuf *b, struct match *match)
{