diff options
author | Ján Tomko <jtomko@redhat.com> | 2013-06-03 17:54:55 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2013-06-18 12:51:46 -0500 |
commit | 6c8cf5fd02430ea004e3291524163afda6740866 (patch) | |
tree | 81efa24fca7f2765a0f74a2b8ea2bbe4f1d2cd91 /tests/test-string-output-visitor.c | |
parent | ce4e8f0d4cf6bc9f0850410730b53b37c799ae87 (diff) | |
download | qemu-6c8cf5fd02430ea004e3291524163afda6740866.zip qemu-6c8cf5fd02430ea004e3291524163afda6740866.tar.gz qemu-6c8cf5fd02430ea004e3291524163afda6740866.tar.bz2 |
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>
(cherry picked from commit 391b7b9701ba3318e890ec0cba97a3c654bfa667)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/test-string-output-visitor.c')
0 files changed, 0 insertions, 0 deletions