Commit e1ed5ba2 authored by Nigel Kukard's avatar Nigel Kukard

Fix FriendlyName and fallback to IPAddress if its not available

parent 01b9cbe0
......@@ -3374,7 +3374,7 @@ sub createLimit
my $poolName = $limitData->{'Username'};
my $poolData = {
'FriendlyName' => $limitData->{'IPAddress'},
'FriendlyName' => $limitData->{'FriendlyName'} || $limitData->{'IPAddress'},
'Name' => $poolName,
'InterfaceGroupID' => $limitData->{'InterfaceGroupID'},
'TrafficClassID' => $limitData->{'TrafficClassID'},
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment