diff options
author | Ján Tomko <jtomko@redhat.com> | 2013-06-03 17:54:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-06-18 11:42:45 +0200 |
commit | 391b7b9701ba3318e890ec0cba97a3c654bfa667 (patch) | |
tree | 255782681df5ba383b62a96fcffa6d3c59552c40 /block/nbd.c | |
parent | afd59989db90683fa127fec501d2633bcfbd6379 (diff) | |
download | qemu-391b7b9701ba3318e890ec0cba97a3c654bfa667.tar.gz qemu-391b7b9701ba3318e890ec0cba97a3c654bfa667.tar.bz2 qemu-391b7b9701ba3318e890ec0cba97a3c654bfa667.zip |
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>
Diffstat (limited to 'block/nbd.c')
0 files changed, 0 insertions, 0 deletions