From f03b5c7442fc94189cefa93aed8f6fc9da16593a Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Tue, 22 Oct 2013 15:33:41 +0200 Subject: expr: limit: s/seconds/second/ my fault, spotted by Phil Oester. Signed-off-by: Florian Westphal --- src/expr/limit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/expr/limit.c') diff --git a/src/expr/limit.c b/src/expr/limit.c index ef76418..4fcf798 100644 --- a/src/expr/limit.c +++ b/src/expr/limit.c @@ -167,7 +167,7 @@ static int nft_rule_expr_limit_xml_parse(struct nft_rule_expr *e, mxml_node_t *t static const char *get_unit(uint64_t u) { switch (u) { - case 1: return "seconds"; + case 1: return "second"; case 60: return "minute"; case 60 * 60: return "hour"; case 60 * 60 * 24: return "day"; -- cgit v1.2.3