summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 24a1a60..9eccc25 100755
--- a/scripts/vyatta-show-dhclient.pl
+++ b/scripts/vyatta-show-dhclient.pl
@@ -71,7 +71,7 @@ sub dhclient_parse_vars {
$var_list{'last_update'} = $line;
while ($line = <FD>) {
chomp $line;
- if ($line =~ m/(\w+)=\'([a-zA-Z0-9.]+)\'/) {
+ if ($line =~ m/(\w+)=\'([\w\s.]+)\'/) {
my $var = $1;
my $val = $2;
$var_list{$var} = $val;