summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2013-10-22 15:33:41 +0200
committerFlorian Westphal <fw@strlen.de>2013-10-22 15:33:41 +0200
commitf03b5c7442fc94189cefa93aed8f6fc9da16593a (patch)
treea5d376708c48afde98cdd059fb16f329052b81d4 /src
parentcc9d2851135901d11e21b1a0332e83119124d083 (diff)
expr: limit: s/seconds/second/
my fault, spotted by Phil Oester. Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src')
-rw-r--r--src/expr/limit.c2
1 files changed, 1 insertions, 1 deletions
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";