Commits
Kir Kolyshkin authored dbd09c85a13
vzctl set --ipadd: fix setting IP address with a netmask When netmasks were added to vzctl (as per bug #1088) this place was forgotten. Unfortunately due to 'return 0' statement in case of error from get_netaddr() this error went unnoticed. Fix the case (by removing /mask from IP address string). Fixes http://bugzilla.openvz.org/2001 http://bugzilla.openvz.org/1088 Signed-off-by: Kir Kolyshkin <kir@openvz.org> (cherry picked from commit e8122a19c7cd8496495b1cfe8a7340781d2d63f6)