r3010 - maintenance->trunk sync of changesets 3008~3009
[racktables] / inc / interface.php
index d4041378684b4f126740366797a8bccd50232521..dd6352c7677b345cdce611675e3804a8e1bf34c5 100644 (file)
@@ -2915,6 +2915,20 @@ function renderSearchResults ()
                                                                        }
                                                        echo '</table>';
                                                }
+                                               if (isset ($obj['by_iface']))
+                                               {
+                                                       echo '<ul>';
+                                                       foreach ($obj['by_iface'] as $ifname)
+                                                               echo "<li>interface ${ifname}</li>";
+                                                       echo '</ul>';
+                                               }
+                                               if (isset ($obj['by_nat']))
+                                               {
+                                                       echo '<ul>';
+                                                       foreach ($obj['by_nat'] as $comment)
+                                                               echo "<li>NAT rule: ${comment}</li>";
+                                                       echo '</ul>';
+                                               }
                                                echo "</td></tr>";
                                                $order = $nextorder[$order];
                                        }