Patchwork expr: match: fix typo in function name

login
register
mail settings
Submitter Arturo Borrero
Date March 21, 2013, 5:56 p.m.
Message ID <20130321175637.5783.35022.stgit@nfdev.cica.es>
Download mbox | patch
Permalink /patch/229809/
State Superseded
Headers show

Comments

Arturo Borrero - March 21, 2013, 5:56 p.m.
---
 src/expr/match.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Pablo Neira - April 2, 2013, 11:35 a.m.
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/src/expr/match.c b/src/expr/match.c
index 9ae849b..f83a8ea 100644
--- a/src/expr/match.c
+++ b/src/expr/match.c
@@ -185,7 +185,7 @@  static int nft_rule_expr_match_parse(struct nft_rule_expr *e, struct nlattr *att
 }
 
 static
-int nft_rule_exp_match_snprintf_xml(char *buf, size_t len,
+int nft_rule_expr_match_snprintf_xml(char *buf, size_t len,
 				struct nft_expr_match *mt)
 {
 	int ret, size=len;
@@ -217,7 +217,7 @@  nft_rule_expr_match_snprintf(char *buf, size_t len, uint32_t type,
 
 	switch(type) {
 	case NFT_RULE_O_XML:
-		return nft_rule_exp_match_snprintf_xml(buf, len, match);
+		return nft_rule_expr_match_snprintf_xml(buf, len, match);
 	case NFT_RULE_O_DEFAULT:
 		return snprintf(buf, len, "name=%s rev=%u ",
 				match->name, match->rev);