commit | c54ed5bcdd8ed29f9cdfcfc0e456b6ec1f25d2c3 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Wed Jul 20 12:20:14 2011 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Sat Jul 23 10:19:49 2011 -0500 |
tree | 8aef013391d00fc25269423ebe4d6bc379554564 | |
parent | 12b513d837c9da5277390ddaf98ca0058339977a [diff] |
slirp: Canonicalize restrict syntax All other boolean arguments accept on|off - except for slirp's restrict. Fix that while still accepting the formerly allowed yes|y|no|n, but reject everything else. This avoids accidentally allowing external connections because syntax errors were so far interpreted as 'restrict=no'. CC: Gleb Natapov <gleb@redhat.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>