Initial netmail import
This commit is contained in:
@@ -13,6 +13,7 @@ trait ParseNodes
|
||||
{
|
||||
$net = FALSE;
|
||||
$result = collect();
|
||||
|
||||
foreach (explode(' ',$line) as $node)
|
||||
{
|
||||
if (preg_match('#/#',$node))
|
||||
@@ -23,7 +24,7 @@ trait ParseNodes
|
||||
if (! $net)
|
||||
throw new \Exception('Missing Net?',$node);
|
||||
|
||||
$result->push($this->get_node($zone->id,$net,$node,0),$create);
|
||||
$result->push($this->get_node($zone->id,$net,$node,0,$create));
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
Reference in New Issue
Block a user