commit | 32d5e111af536d90dd47841ab5f32e98e66ef36b | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Mon Nov 16 18:27:50 2009 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Mon Nov 16 20:26:20 2009 +0300 |
tree | e245c7c67e0d34251c0df5d7d9c5268a7dcccb57 | |
parent | c167d55a075a2600fa5f42c1e9a1f1ebefd0abaa [diff] |
src/lib/config.c: use conf_store_strlist() There are two places which basically reimplement conf_store_strlist(). Remove the duplicated code, use the function. Since parameters such as IP_ADDRESS have a special case when the value is empty ("remove all IPs") we need to add a parameter to conf_store_strlist() which specifies whether empty lists should be saved or not. Signed-off-by: Kir Kolyshkin <kir@openvz.org>