Browse Source

Ignore the OOB switch.

Joe Clarke 1 year ago
parent
commit
7ab08bc9e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/export_deadman.php

+ 1 - 1
www/export_deadman.php

@@ -147,7 +147,7 @@ try {
 $infra = $targets['targets']['infra'];
 $new_infra = [];
 foreach ($infra as $target) {
-    if (!preg_match('/^sw-[0-9]+/', $target['name'])) {
+    if (!preg_match('/^sw-([0-9]+|oob)/', $target['name'])) {
         array_push($new_infra, $target);
         continue;
     }