summaryrefslogtreecommitdiffstats
path: root/src/parser_bison.y
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-12-11 22:06:48 +0000
committerPatrick McHardy <kaber@trash.net>2014-12-11 22:06:48 +0000
commitd9a9a794a56e2f185ecf9ce18fc440fa2d4d32ad (patch)
tree0602f7bc386ecaf0efd91fa68c52fd219c9f679a /src/parser_bison.y
parentb981049d1e496b070a9db17e42897bff9b97ea47 (diff)
stmt: rename nat "random-fully" option to "fully-random"
Use proper english for full randomization option. Signed-off-by: Patrick McHardy
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r--src/parser_bison.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y
index 6c7a036a..515a11a0 100644
--- a/src/parser_bison.y
+++ b/src/parser_bison.y
@@ -378,7 +378,7 @@ static void location_update(struct location *loc, struct location *rhs, int n)
%token MASQUERADE "masquerade"
%token REDIRECT "redirect"
%token RANDOM "random"
-%token RANDOM_FULLY "random-fully"
+%token FULLY_RANDOM "fully-random"
%token PERSISTENT "persistent"
%token QUEUE "queue"
@@ -1462,7 +1462,7 @@ nf_nat_flags : nf_nat_flag
;
nf_nat_flag : RANDOM { $$ = NF_NAT_RANGE_PROTO_RANDOM; }
- | RANDOM_FULLY { $$ = NF_NAT_RANGE_PROTO_RANDOM_FULLY; }
+ | FULLY_RANDOM { $$ = NF_NAT_RANGE_PROTO_RANDOM_FULLY; }
| PERSISTENT { $$ = NF_NAT_RANGE_PERSISTENT; }
;