Add parantheses around rule components for clarity
@@ -503,13 +503,23 @@ ip_nat_null
ip_nat_pool
:
+ (
POOL name = variable PREFIX_LENGTH prefix_length = DEC NEWLINE
ip_nat_pool_range*
- | POOL name = variable first = IP_ADDRESS last = IP_ADDRESS
+ )
+ |
+ (
+ POOL name = variable first = IP_ADDRESS last = IP_ADDRESS
+ (
(
NETMASK mask = IP_ADDRESS
- | PREFIX_LENGTH prefix_length = DEC
+ )
+ |
+ (
+ PREFIX_LENGTH prefix_length = DEC
+ )
) NEWLINE
+ )
;
ip_nat_pool_range
