Révision b22ef160
Ajouté par Renato Botelho il y a plus de 9 ans
etc/inc/filter.inc | ||
---|---|---|
1377 | 1377 |
continue 2; |
1378 | 1378 |
|
1379 | 1379 |
$network = gen_subnet($vip['ip'], $vip['sn']); |
1380 |
$tonathosts[] = $network . '/' . $vip['sn'];
|
|
1381 |
$descriptions[] = "Virtual IP ({$oc['descr']})";
|
|
1380 |
array_unshift($tonathosts, $network . '/' . $vip['sn']);
|
|
1381 |
array_unshift($descriptions, "Virtual IP ({$oc['descr']})");
|
|
1382 | 1382 |
$if_subnets[] = $network . '/' . $vip['sn']; |
1383 | 1383 |
unset($network); |
1384 | 1384 |
} |
Formats disponibles : Unified diff
As pointed out by Ermal, VIPs should go first in the list since NAT is first match. Ticket #983