Files
webmin/sshd/cgi_args.pl
Jamie Cameron 9dbd5db2c9 Fix permissions
2009-07-20 23:42:32 -07:00

18 lines
264 B
Perl
Executable File

do 'sshd-lib.pl';
sub cgi_args
{
my ($cgi) = @_;
if ($cgi eq 'edit_keys.cgi') {
# Allows no args
return undef;
}
elsif ($cgi eq 'edit_host.cgi') {
# First client host
my $hconf = &get_client_config();
return @$hconf ? 'idx=0' : 'new=1';
}
return undef;
}