summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-02-17 15:41:19 -0600
committerJohn Southworth <john.southworth@vyatta.com>2011-02-17 15:41:19 -0600
commit8d0400a661907982e28bb2d6184b8c0e6dc962a2 (patch)
tree4a4729931404121e39bc3b8586eee34d6fe82fc2 /scripts/vpn-config.pl
parent46333cc1d1ac2bb784fc887fbe28daef3b241c16 (diff)
downloadvyatta-cfg-vpn-8d0400a661907982e28bb2d6184b8c0e6dc962a2.tar.gz
vyatta-cfg-vpn-8d0400a661907982e28bb2d6184b8c0e6dc962a2.zip
Reread secrets before an update
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index a51a4bc..f6ce00a 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -1382,7 +1382,6 @@ sub get_dhcp_addr {
my $addr = pop(@dhcp_addr);
@dhcp_addr = split(/\//, $addr);
$addr = $dhcp_addr[0];
- $addr = '0.0.0.0' if ($addr eq '');
return $addr;
}