#!/usr/local/bin/perl
# list_routes.cgi
# List boot-time routing configuration

require './net-lib.pl';
$access{'routes'} || &error($text{'routes_ecannot'});
&ReadParse();
&header($text{'routes_title'}, "");
print "<hr>\n";

print "<form action=save_routes.cgi>\n";
print "<table border>\n";
print "<tr $tb> <td><b>$text{'routes_boot'}</b></td> </tr>\n";
print "<tr $cb> <td><table>\n";
&routing_input();
print "</table></td></tr></table>\n";
print "<input type=submit value=\"$text{'save'}\">\n"
	if ($access{'routes'} == 2);
print "</form>\n";

print "<hr>\n";
&footer("", $text{'index_return'});

