|
@@ -287,7 +287,7 @@ accessDenied(7) The CMTS has sent a Registration Aborted message to the CM
|
|
|
$rtr = $this->getSNMP()->walk1d(self::OID_docsIfCmtsCmStatusValue);
|
|
|
$replace = array(1 => 'other' , 2 => 'ranging', 3 => 'rangingAborted', 4 => 'rangingComplete', 5 => 'ipComplete',
|
|
|
6 => 'registrationComplete', 7 => 'accessDenied');
|
|
|
- foreach($rtr as $k => $v){ $rtr[$k] = $replace[$v]; }
|
|
|
+ foreach($rtr as $k => $v){ if(isset($replace[$v])) {$rtr[$k] = $replace[$v];} }
|
|
|
return $rtr;
|
|
|
|
|
|
}
|