1
0
Fork 0

Updated roagen.php

This commit is contained in:
netravnen 2018-12-10 19:12:27 +01:00 committed by Christoffer
parent 3bec9ae84c
commit 171a528483
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ foreach($files as $file)
$roas['roas'][$i]['asn'] = $asn[0];
$roas['roas'][$i]['prefix'] = $route;
if (isset($ta)) {
if ($ta != 'ICVPN' || $ta != 'CHAOSVPN') {
if ($ta == 'DN42') {
$mask = ($mask <= 64 ? '64' : $mask);
}
} else {
@ -92,7 +92,7 @@ foreach($files as $file)
$roas['roas'][$i]['asn'] = $asn[0];
$roas['roas'][$i]['prefix'] = $route;
if (isset($ta)) {
if ($ta != 'ICVPN' || $ta != 'CHAOSVPN') {
if ($ta == 'DN42') {
$mask = ($mask <= 64 ? '64' : $mask);
}
} else {