commit | 3249c0d420134c8583c7ae0dfa5e20a4392f26c6 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Aug 23 22:58:05 2011 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Aug 24 13:17:35 2011 +0400 |
tree | e636582dd6e136b1c4de4048b02da7603b836a54 | |
parent | 372080ff61b31513ce15c862afafb360b37e9307 [diff] |
__merge_str_list(): 'add' list have a precedence over 'del' Consider the following command: vzctl set --ipdel 1.2.3.4 --ipadd 1.2.3.4 Before this patch, this does nothing. Now, we are adding values from the 'add' list even if they are in the 'del' list, thus forcing the command to remove the IP and add it again. This totally makes sense, provided we remove IPs first and then add those (need to check it). Signed-off-by: Kir Kolyshkin <kir@openvz.org>