commit | 391b7b9701ba3318e890ec0cba97a3c654bfa667 | [log] [tgz] |
---|---|---|
author | Ján Tomko <jtomko@redhat.com> | Mon Jun 03 17:54:55 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 18 11:42:45 2013 +0200 |
tree | 255782681df5ba383b62a96fcffa6d3c59552c40 | |
parent | afd59989db90683fa127fec501d2633bcfbd6379 [diff] |
qemu-socket: allow hostnames starting with a digit According to RFC 1123 [1], hostnames can start with a digit too. [1] http://tools.ietf.org/html/rfc1123#page-13 Signed-off-by: Ján Tomko <jtomko@redhat.com> Cc: qemu-stable@nongnu.org [Use strspn, not strcspn. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>