diff options
Diffstat (limited to 'usr/local/www/diag_dump_states.php')
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index 5ed855d..b368542 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -187,9 +187,9 @@ if(count($states) > 0) { /* break up info and extract $srcip and $dstip */ $ends = preg_split("/\<?-\>?/", $info); - $parts = split(":", $ends[0]); + $parts = explode(":", $ends[0]); $srcip = trim($parts[0]); - $parts = split(":", $ends[count($ends) - 1]); + $parts = explode(":", $ends[count($ends) - 1]); $dstip = trim($parts[0]); echo "<tr valign='top' name='r:{$srcip}:{$dstip}'> |