commit | 955e600106f9be4841421d4157ebeff15176ce09 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Feb 13 16:52:24 2013 -0800 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Feb 13 16:54:52 2013 -0800 |
tree | ecc522732ad1978bdf1f1aaf4243e8c02f33e0ed | |
parent | aa84f2f0354f02cf33bed406eeb6026743ab72c7 [diff] |
vzlist: more strict for cmdline-supplied CTIDs First, move the veid check out of 'if' statement, similar to the previous commit aa84f2f for vzctl. Second, check for VEID_MAX as well to filter out invalid CTIDs as early as possible. Related to https://bugzilla.openvz.org/2514 Signed-off-by: Kir Kolyshkin <kir@openvz.org>