summaryrefslogtreecommitdiff
path: root/block/nbd.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2013-06-03 17:54:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-06-18 11:42:45 +0200
commit391b7b9701ba3318e890ec0cba97a3c654bfa667 (patch)
tree255782681df5ba383b62a96fcffa6d3c59552c40 /block/nbd.c
parentafd59989db90683fa127fec501d2633bcfbd6379 (diff)
downloadqemu-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