From 5ed3146160d28df5ec4cb911458960b795c50874 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Thu, 10 Jul 2014 15:35:33 +1000 Subject: Fix ignore-hosts-file operation This fixes the following error: Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 77. Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 86. Global symbol "$ignore_hosts_file" requires explicit package name at /opt/vyatta/sbin/vyatta-dns-forwarding.pl line 99. Execution of /opt/vyatta/sbin/vyatta-dns-forwarding.pl aborted due to compilation errors. --- scripts/dns-forwarding/vyatta-dns-forwarding.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl index c2109191..f0cddcf6 100755 --- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl +++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl @@ -63,7 +63,7 @@ sub dnsforwarding_get_values { my $output = ''; my $config = new Vyatta::Config; my $use_dnsmasq_conf = 0; - my (@listen_interfaces, $cache_size, @use_nameservers, $use_system_nameservers, @use_dhcp_nameservers, @domain, $server); + my (@listen_interfaces, $cache_size, @use_nameservers, $use_system_nameservers, @use_dhcp_nameservers, @domain, $server, $ignore_hosts_file); $config->setLevel("service dns forwarding"); -- cgit v1.2.3