projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7ceda
)
r4321 vrp55Read8021QConfig(): include port name in exception message
author
Denis Ovsienko
<infrastation@yandex.ru>
Fri, 11 Mar 2011 10:50:56 +0000
(10:50 +0000)
committer
Denis Ovsienko
<infrastation@yandex.ru>
Fri, 11 Mar 2011 10:50:56 +0000
(10:50 +0000)
wwwroot/inc/deviceconfig.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/deviceconfig.php
b/wwwroot/inc/deviceconfig.php
index 812eee0a1d754ed2d140c742634efb2a24df08ff..75bc671a6494c19a118c32f5677dc6cac9fda0f4 100644
(file)
--- a/
wwwroot/inc/deviceconfig.php
+++ b/
wwwroot/inc/deviceconfig.php
@@
-680,7
+680,7
@@
function vrp55Read8021QConfig ($input)
switch (TRUE)
{
case preg_match ('/^ port (link-type )?hybrid /', $line):
- throw new RTGatewayError (
"unsupported configuration
: ${line}");
+ throw new RTGatewayError (
'unsupported hybrid link-type for ' . $ret['current']['port_name'] . "
: ${line}");
case preg_match ('/^ port link-type (.+)$/', $line, $matches):
$ret['current']['link-type'] = $matches[1];
break;