tree 343f4927ff31ab59e55456550e9910d41c9393ff parent 2e0a1d5295a0fdcdba019225ce5ff45f379550aa author Kir Kolyshkin 1362179197 -0800 committer Kir Kolyshkin 1362179356 -0800 vzmigrate: rewrite/fix IP address check First, checking IPs one by one is not very efficient, so let's optimize, rewriting this code to check all IPs at once, by making a A|B|C regexp out of them. Second, any IPs with netmasks present would not be detected -- for this to work we need to remove netmasks from IPs if there are any. This patch does both. Signed-off-by: Kir Kolyshkin