Skip to content

Commit

Permalink
Commented the not-so-clear hostname generation logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Pimenov committed Oct 13, 2014
1 parent 8d7a0e3 commit 15e7e61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/suse/connect/system.rb
Expand Up @@ -55,6 +55,7 @@ def hostname
hostname
else
# Fix for bnc#889869
# Sending (and storing on our servers) the public IPs would be a privacy violation
addr_info = Socket.ip_address_list.find {|intf| intf.ipv4_private? }
addr_info.ip_address if addr_info
end
Expand Down

0 comments on commit 15e7e61

Please sign in to comment.