summaryrefslogtreecommitdiff
path: root/scripts/vyatta-show-dhclient.pl
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-05-05 14:47:47 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-05-05 14:47:47 -0700
commitc30395d1ed524c9ea6c79f9b3afb8deeeb53815c (patch)
treedbcbf50321cd34063a98664e6adf32306ecb7e79 /scripts/vyatta-show-dhclient.pl
parent45cb2621b897e9eb470fb2aa5d6868f4f8563799 (diff)
downloadvyatta-op-c30395d1ed524c9ea6c79f9b3afb8deeeb53815c.tar.gz
vyatta-op-c30395d1ed524c9ea6c79f9b3afb8deeeb53815c.zip
Fix 3233: dhcp client doesn't work on bridge interface
Diffstat (limited to 'scripts/vyatta-show-dhclient.pl')
-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 8c77ae5..b696f8f 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -38,7 +38,7 @@ sub dhclient_get_lease_files {
my @lease_files;
my $LS;
if ($intf eq "all") {
- my $file = "dhclient_eth";
+ my $file = "dhclient_";
open($LS,"ls $lease_dir |grep '^$file.*\_lease\$' | sort |");
} else {
my $file = "dhclient_$intf";