From 39ef568ad5da594f92ea445bfd1190aa54ff0fb8 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Sun, 31 Aug 2008 03:52:58 +0000 Subject: change command 'clear dns forwarding process' to 'clear dns forwarding statistics' --- scripts/vyatta-op-dns-forwarding.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/vyatta-op-dns-forwarding.pl') diff --git a/scripts/vyatta-op-dns-forwarding.pl b/scripts/vyatta-op-dns-forwarding.pl index 6ef8ebb..978ed33 100644 --- a/scripts/vyatta-op-dns-forwarding.pl +++ b/scripts/vyatta-op-dns-forwarding.pl @@ -213,10 +213,10 @@ sub print_nameservers { # # main # -my ($clear_cache, $clear_process, $show_statistics, $show_nameservers); +my ($clear_cache, $clear_statistics, $show_statistics, $show_nameservers); GetOptions("clear-cache!" => \$clear_cache, - "clear-process!" => \$clear_process, + "clear-statistics!" => \$clear_statistics, "show-statistics!" => \$show_statistics, "show-nameservers!" => \$show_nameservers); @@ -224,7 +224,7 @@ if (defined $clear_cache) { system("kill -1 `pidof dnsmasq`"); } -if (defined $clear_process) { +if (defined $clear_statistics) { system("/etc/init.d/dnsmasq restart >&/dev/null"); } -- cgit v1.2.3