ip_xfrm_policy-2.5.2.patch
modif/ip_xfrm_policy 2018-02-08 08:28:36.287370000 +0100 | ||
---|---|---|
20 | 20 |
%end for |
21 | 21 |
%if %%activer_route == 'oui' |
22 | 22 |
%for %%route in %%route_adresse |
23 |
%if %%route.route_int != 'eth0' |
|
24 |
%set %%net_route = %%str(%%route) + "/" + %%str(%%calc_classe(%%route.route_netmask)) |
|
25 |
%%reseau.append(%%net_route) |
|
26 |
%end if |
|
23 |
%set %%net_route = %%str(%%route) + "/" + %%str(%%calc_classe(%%route.route_netmask)) |
|
24 |
%%reseau.append(%%net_route) |
|
27 | 25 |
%end for |
28 | 26 |
%end if |
29 | 27 |
%for %%res1 in %%reseau |