roagen: match for route6 string in route6 objects
This commit is contained in:
parent
3e4779f43c
commit
c93b4f6585
|
@ -46,7 +46,7 @@ foreach ($files6 as $file)
|
|||
|
||||
if (startsWith ($str, "max", 3)) $raw_array[$i]["max"] = $str;
|
||||
elseif (startsWith ($str, "source", 6)) $raw_array[$i]["source"] = $str;
|
||||
elseif (startsWith ($str, "route", 5)) $raw_array[$i]["route"] = $str;
|
||||
elseif (startsWith ($str, "route6", 6)) $raw_array[$i]["route"] = $str;
|
||||
elseif (startsWith ($str, "origin", 6)) $raw_array[$i]["asn"][$j++] = $str;
|
||||
elseif (startsWith ($str, "mnt", 3)) $raw_array[$i]["mnt"] = $str;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ foreach ($files6 as $file)
|
|||
|
||||
if (startsWith ($str, "max", 3)) $raw_array[$i]["max"] = $str;
|
||||
elseif (startsWith ($str, "source", 6)) $raw_array[$i]["source"] = $str;
|
||||
elseif (startsWith ($str, "route", 5)) $raw_array[$i]["route"] = $str;
|
||||
elseif (startsWith ($str, "route6", 6)) $raw_array[$i]["route"] = $str;
|
||||
elseif (startsWith ($str, "origin", 6)) $raw_array[$i]["asn"][$j++] = $str;
|
||||
|
||||
// Catch max-length not set in route object.
|
||||
|
|
Loading…
Reference in a new issue