Updated roagen.php
This commit is contained in:
parent
171a528483
commit
b22e984abb
|
@ -77,7 +77,7 @@ foreach($files as $file)
|
||||||
$roas['roas'][$i]['asn'] = $asn[0];
|
$roas['roas'][$i]['asn'] = $asn[0];
|
||||||
$roas['roas'][$i]['prefix'] = $route;
|
$roas['roas'][$i]['prefix'] = $route;
|
||||||
if (isset($ta)) {
|
if (isset($ta)) {
|
||||||
if ($ta == 'DN42') {
|
if ($ta != ('ICVPN' || 'CHAOSVPN')) {
|
||||||
$mask = ($mask <= 64 ? '64' : $mask);
|
$mask = ($mask <= 64 ? '64' : $mask);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -92,7 +92,7 @@ foreach($files as $file)
|
||||||
$roas['roas'][$i]['asn'] = $asn[0];
|
$roas['roas'][$i]['asn'] = $asn[0];
|
||||||
$roas['roas'][$i]['prefix'] = $route;
|
$roas['roas'][$i]['prefix'] = $route;
|
||||||
if (isset($ta)) {
|
if (isset($ta)) {
|
||||||
if ($ta == 'DN42') {
|
if ($ta != ('ICVPN' || 'CHAOSVPN')) {
|
||||||
$mask = ($mask <= 64 ? '64' : $mask);
|
$mask = ($mask <= 64 ? '64' : $mask);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -148,7 +148,7 @@ foreach($files as $file)
|
||||||
$roas['roas'][$i]['asn'] = $asn[0];
|
$roas['roas'][$i]['asn'] = $asn[0];
|
||||||
$roas['roas'][$i]['prefix'] = $route;
|
$roas['roas'][$i]['prefix'] = $route;
|
||||||
if (isset($ta)) {
|
if (isset($ta)) {
|
||||||
if ($ta != 'ICVPN') {
|
if ($ta != ('ICVPN' || 'CHAOSVPN')) {
|
||||||
$mask = ($mask <= 28 ? '28' : $mask);
|
$mask = ($mask <= 28 ? '28' : $mask);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -163,7 +163,7 @@ foreach($files as $file)
|
||||||
$roas['roas'][$i]['asn'] = $asn[0];
|
$roas['roas'][$i]['asn'] = $asn[0];
|
||||||
$roas['roas'][$i]['prefix'] = $route;
|
$roas['roas'][$i]['prefix'] = $route;
|
||||||
if (isset($ta)) {
|
if (isset($ta)) {
|
||||||
if ($ta != 'ICVPN') {
|
if ($ta != ('ICVPN' || 'CHAOSVPN')) {
|
||||||
$mask = ($mask <= 28 ? '28' : $mask);
|
$mask = ($mask <= 28 ? '28' : $mask);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue