fix open tag and weird html structure in webif connections page, suppress missing...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 14 Jan 2006 14:43:34 +0000 (14:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 14 Jan 2006 14:43:34 +0000 (14:43 +0000)
SVN-Revision: 2974

openwrt/package/webif/files/www/cgi-bin/webif/connection.sh

index 7ff790e1da69483a7b4ed94acae1d8f3dc09a3d0..79ce59e20e43799df6d1aad1bc7c9f36798d7edd 100755 (executable)
@@ -6,28 +6,22 @@ header "Status" "Connections" "Connection status"
 <table style="width: 90%; text-align: left;" border="0" cellpadding="2" cellspacing="2" align="center">
 <tbody>
        <tr>
-               <td><b>Ethernet/Wireless physical connections</b></td>
-               <tbody>
-                       <tr>
-                               <td><pre><? cat /proc/net/arp | head -1 ?></pre></td>
-                       </tr>
-                       <tr>
-                               <td><pre><? cat /proc/net/arp | grep -v IP ?></pre></td>
-                       </tr>
-               </tbody>
+               <th><b>Ethernet/Wireless physical connections</b></th>
        </tr>
        <tr>
-               <td><br /><br /></td>
+               <td><pre><? cat /proc/net/arp ?></pre></td>
+       </tr>
+       
+       <tr><td><br /><br /></td></tr>
+
+       <tr>
+               <th><b>Connections to the router</b></th>
        </tr>
        <tr>
-               <td><b>Connections to the router</b></td>
-               <tbody>
-                       <tr>
-                               <td><pre><? netstat -n ?></pre></td>
-                       </tr>
-               </tbody>
+               <td><pre><? netstat -n 2>&- ?></pre></td>
        </tr>
 </tbody>
+</table>
 
 <? footer ?>
 <!--