From 29a5a9477cb51bc53c7e3412358208c630726ced Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 24 Jul 2013 10:25:27 -0300 Subject: Respect default limit on first show --- config/openbgpd/openbgpd_status.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/openbgpd') diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php index d712b9f1..e769e9e6 100644 --- a/config/openbgpd/openbgpd_status.php +++ b/config/openbgpd/openbgpd_status.php @@ -93,6 +93,7 @@ function showCmdT($idx, $title, $command) { echo "\n"; echo "\n"; + $limit_default = "all"; if ($idx == "routing") { $limit_options = array("10", "50", "100", "200", "500", "1000", "all"); $limit_default = "100"; @@ -109,7 +110,7 @@ function showCmdT($idx, $title, $command) { } echo "\n"; echo "
" . $title . "
";	/* no newline after pre */
-	echo doCmdT($command);
+	echo doCmdT($command, $limit_default);
 	echo "
\n"; } -- cgit v1.2.3