projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5607f5b
)
r4312 bugfix: undefined index: 'mode' in ios12PickSwitchportCommand
author
Alexey Andriyanov
<alan@al-an.info>
Thu, 10 Mar 2011 11:03:58 +0000
(11:03 +0000)
committer
Alexey Andriyanov
<alan@al-an.info>
Thu, 10 Mar 2011 11:03:58 +0000
(11:03 +0000)
wwwroot/inc/deviceconfig.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/deviceconfig.php
b/wwwroot/inc/deviceconfig.php
index 18e4e6ea933cfd2fb2c93c7c0b2e1801bd567f19..0701bfa81254a6fa0c9723c8cdbc675c410cdd3a 100644
(file)
--- a/
wwwroot/inc/deviceconfig.php
+++ b/
wwwroot/inc/deviceconfig.php
@@
-243,7
+243,7
@@
function ios12PickSwitchportCommand (&$work, $line)
if ($line[0] != ' ') // end of interface section
{
// save work, if it makes sense
- switch ($work['current']['mode'])
+ switch (
@
$work['current']['mode'])
{
case 'access':
if (!array_key_exists ('access vlan', $work['current']))