Anomalie #3817
utilisation de "for" dans era
100%
Description
vu avec Gwen, era supporte mal l'utilisation de la boucle for.
par exemple avec cette règle en inclusion statique :
%for %%res_adriatic in %%network_adriatic
/sbin/iptables -t nat -I POSTROUTING -s %%adresse_ip_ped_srv1/255.255.255.255 -d %%res_adriatic/%%res_adriatic.netmask_adriatic -j SNAT --to-source %%adresse_ip_nat_ped_srv1
%end for
au moment du reconfigure il nous informe qu'il ne connait pas la variable %%res_adriatic.
Related issues
Associated revisions
static rules accepts non-creole variables now fixes #3817
static rules accepts non-creole variables now for real (2.2 version, (see #3817)
static rules accepts non-creole variables now fixes #3817 for real
static rules accepts non-creole variables see #3817 end
static rules accepts non-creole variables see #3817 end
static rules accepts non-creole variables see #3817 end and end
static rules accepts non-creole variables see #3817 end and end
Improve isCron check; fixes #3817
History
#1 Updated by Gwenael Remond over 10 years ago
- Status changed from Nouveau to Accepté
- Assigned To set to Gwenael Remond
#2 Updated by Joël Cuissinat over 10 years ago
- Project changed from Amon to ERA
#3 Updated by Gwenael Remond over 10 years ago
- Status changed from Accepté to Résolu
- % Done changed from 0 to 100
Appliqué par commit 05d7917c26236a5c8b4991f9fe971c2c0afd2304.
#4 Updated by Joël Cuissinat over 10 years ago
- Target version set to Mises à jour 2.3.6 RC
#5 Updated by Gwenael Remond over 10 years ago
Appliqué par commit d14ac8f94d54d659553d166dec8e5a848ec1b2e7.
#6 Updated by Joël Cuissinat over 10 years ago
- Status changed from Résolu to Fermé
nb : je n'ai pas testé personnellement :)