r2066 + employ origin highlighting more widely:
[racktables] / inc / pagetitles.php
index ddfe992eb5d932f2fced79f20844bf5b462e795e..28e74844c36ceeef2d1aa57dbe727b37c70baf9a 100644 (file)
@@ -21,7 +21,15 @@ function dynamic_title_iprange ()
                        break;
                case 'ipaddress':
                        $range = getRangeByIp($_REQUEST['ip']);
-                       return array ('name' => $range['ip'].'/'.$range['mask'], 'params' => array('id'=>$range['id']));
+                       return array
+                       (
+                               'name' => $range['ip'] . '/' . $range['mask'],
+                               'params' => array
+                               (
+                                       'id' => $range['id'],
+                                       'hl_ipv4_addr' => $_REQUEST['ip']
+                               )
+                       );
                        break;
                default:
                        return NULL;