summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-23 17:17:31 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-23 17:17:31 -0800
commiteff01cafc0aee4c0244851e1f8d0d1f8af47648b (patch)
tree71d399e416c790c7aa4fdcf4ca70f297e9c84fe5 /scripts
parentaef7e7987f3db2cd8cb21e6b492966909278f4b0 (diff)
downloadvyatta-op-eff01cafc0aee4c0244851e1f8d0d1f8af47648b.tar.gz
vyatta-op-eff01cafc0aee4c0244851e1f8d0d1f8af47648b.zip
Fix typo in show dhcp client lease script
It is resolve_domain not resolve_doman, my bad
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-dhclient.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-dhclient.pl b/scripts/vyatta-show-dhclient.pl
index e4da6dc..5064c1c 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -109,7 +109,7 @@ sub dhclient_show_lease {
my $new_domain_name = $var_list{'new_domain_name'};
if ($new_domain_name) {
print "domain name: $new_domain_name";
- my $cur_domain = resolve_doman();
+ my $cur_domain = resolve_domain();
print "\t[overridden by domain-name set using CLI]"
if ( defined $cur_domain && $cur_domain ne $new_domain_name );
print "\n";