#!/usr/local/bin/perl
# edit_route.cgi
# Edit an existing SMTP route

require './qmail-lib.pl';
&ReadParse();
@routes = &list_routes();
$r = $routes[$in{'idx'}];

&header($text{'rform_edit'}, "");
print "<hr>\n";
&route_form($r);
print "<hr>\n";
&footer("list_routes.cgi", $text{'routes_return'});

