diff options
author | Paul Gear <github@libertysys.com.au> | 2014-07-10 15:35:33 +1000 |
---|---|---|
committer | Paul Gear <github@libertysys.com.au> | 2014-07-10 15:35:33 +1000 |
commit | 5ed3146160d28df5ec4cb911458960b795c50874 (patch) | |
tree | 145703ba4ffdefbdfca6a93d06b7c74de4e7b64b /scripts | |
parent | 08a5abd595f91fe1eac0bcd3ea7d72aff880455a (diff) | |
download | vyatta-cfg-system-5ed3146160d28df5ec4cb911458960b795c50874.tar.gz vyatta-cfg-system-5ed3146160d28df5ec4cb911458960b795c50874.zip |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dns-forwarding/vyatta-dns-forwarding.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |