From 2fbe5a5564740218ab9d65dfcb6e4354656acace Mon Sep 17 00:00:00 2001 From: kouak Date: Mon, 23 Feb 2015 01:07:34 +0100 Subject: Fix a bug in rfc2136 import --- scripts/dynamic-dns/vyatta-dynamic-dns.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/dynamic-dns/vyatta-dynamic-dns.pl b/scripts/dynamic-dns/vyatta-dynamic-dns.pl index e8aedae8..0b2119d4 100755 --- a/scripts/dynamic-dns/vyatta-dynamic-dns.pl +++ b/scripts/dynamic-dns/vyatta-dynamic-dns.pl @@ -146,7 +146,7 @@ sub dynamicdns_get_values { my $zone = $config->returnValue("zone"); foreach my $record (@records) { - $output .= "server=$server\n"; + $output .= "server=$nsserver\n"; $output .= "protocol=nsupdate\n"; $output .= "password=$key_file\n"; $output .= "ttl=$ttl\n"; -- cgit v1.2.3