Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
opentrafficshaper
opentrafficshaper
Commits
e1ed5ba2
Commit
e1ed5ba2
authored
Mar 06, 2018
by
Nigel Kukard
Browse files
Fix FriendlyName and fallback to IPAddress if its not available
parent
01b9cbe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
opentrafficshaper/plugins/configmanager.pm
View file @
e1ed5ba2
...
...
@@ -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
'},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment