From 374d319e1cea1e765d690b0d7d7567e8b62422b4 Mon Sep 17 00:00:00 2001 From: Martin Vidner Date: Mon, 30 Oct 2017 16:59:52 +0100 Subject: [PATCH] Correct the comment to describe the actual behavior --- src/include/network/lan/address.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/include/network/lan/address.rb b/src/include/network/lan/address.rb index e12e2bbcf..ed61d2433 100644 --- a/src/include/network/lan/address.rb +++ b/src/include/network/lan/address.rb @@ -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