Handle hostnames with upper-case letters
[webmin.git] / ppp-client / disconnect.cgi
1 #!/usr/local/bin/perl
2 # disconnect.cgi
3 # Shut down a connection by killing it's PID
4
5 require './ppp-client-lib.pl';
6 &error_setup($text{'disc_err'});
7 &ReadParse();
8
9 &ui_print_header(undef, $text{'disc_title'}, "");
10
11 if ($in{'mode'} == 0) {
12         ($ip, $pid, $sect) = &get_connect_details();
13         }
14 &ppp_disconnect($in{'mode'}, 0);
15
16 &webmin_log("disconnect", $sect);
17 &ui_print_footer("", $text{'index_return'});
18