diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-08-19 03:11:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-08-19 03:11:43 +0000 |
commit | b4031ab68a822b61e05e5ac5008d0b1c347b1b89 (patch) | |
tree | 51b8e537c1ad085bb4646406e4428c56c358f34d /usr/local | |
parent | 1ef8bc7534bb06cd798e2427eed3d195e2c9764e (diff) | |
download | pfsense-b4031ab68a822b61e05e5ac5008d0b1c347b1b89.zip pfsense-b4031ab68a822b61e05e5ac5008d0b1c347b1b89.tar.gz |
Show state count on states display screen.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index 68b4da0..bbd8def 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -106,12 +106,17 @@ else { <!-- Start of tab content --> +<?php + $current_statecount=`pfctl -si | grep "current entries" | awk '{ print $3 }'`; +?> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <form action="<?=$_SERVER['SCRIPT_NAME'];?>" method="get"> <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> + <td>Current state count: <?=$current_statecount?></td> <td style="font-weight:bold;" align="right"> <?=gettext("Filter expression:");?> <input type="text" name="filter" class="formfld search" value="<?=$_GET['filter'];?>" size="30" /> |