Skip to content

Commit

Permalink
Correct the comment to describe the actual behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner authored and mchf committed Nov 1, 2017
1 parent d5e929d commit 374d319
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/include/network/lan/address.rb
Expand Up @@ -1620,10 +1620,8 @@ def repeated_physical_port_ids(slaves)
#
# When hostname is empty, then old IP's record is cleared from /etc/hosts and
# new is not created.
# When hostname is changed then canonical name and all aliases in the record
# Otherwise the canonical name and all aliases in the record
# are replaced by new ones.
# When NIC's IP was changed than the canonical name and all aliases are assigned
# the new IP (or replaced by new ones if the hostname was changed as well)
#
# @param [String] ip address
# @param [String] new hostname
Expand Down

0 comments on commit 374d319

Please sign in to comment.