Skip to contentSkip to conversation

expr: match: fix typo in function name

PATCH Applied Arturo Borrero 2 participants 2 messages Mar 21, 2013 – Apr 2, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 expr: match: fix typo in function name

---
 src/expr/match.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
src/expr/match.c +2 -2
index 9ae849b..f83a8ea 100644
@@ -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);