Navigation Menu

Skip to content

Commit

Permalink
fixes routes in openvpn status
Browse files Browse the repository at this point in the history
  • Loading branch information
dguerri committed Mar 5, 2012
1 parent a3fb18a commit 502a579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/openvpn_management.rb
Expand Up @@ -85,8 +85,8 @@ def status
# Update Routing Info List
# Virtual Address,Common Name,Real Address,Last Ref
if routing_list_flag == 1
route << l.split(',')
routes[route[0]] = { :common_name => route[1], :real_address=> route[2], :last_ref => route[3] }
route = l.split(',')
routes[route[0]] = { :common_name => route[1], :real_address=> route[2], :last_ref => route[3].chop }
end

# Start Information Markers
Expand Down

0 comments on commit 502a579

Please sign in to comment.