qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [6584] qemu_chr_open_tcp: allow ipv4 and ipv6 options
@ 2009-02-09 20:09 Aurelien Jarno
  0 siblings, 0 replies; only message in thread
From: Aurelien Jarno @ 2009-02-09 20:09 UTC (permalink / raw)
  To: qemu-devel

Revision: 6584
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6584
Author:   aurel32
Date:     2009-02-09 20:09:29 +0000 (Mon, 09 Feb 2009)

Log Message:
-----------
qemu_chr_open_tcp: allow ipv4 and ipv6 options

Those new options are parsed in qemu-sockets.c. Allow them instead of
printing "Unknown option".

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

Modified Paths:
--------------
    trunk/qemu-char.c

Modified: trunk/qemu-char.c
===================================================================
--- trunk/qemu-char.c	2009-02-09 19:59:57 UTC (rev 6583)
+++ trunk/qemu-char.c	2009-02-09 20:09:29 UTC (rev 6584)
@@ -1992,6 +1992,10 @@
             do_nodelay = 1;
         } else if (!strncmp(ptr,"to=",3)) {
             /* nothing, inet_listen() parses this one */;
+        } else if (!strncmp(ptr,"ipv4",4)) {
+            /* nothing, inet_connect() and inet_listen() parse this one */;
+        } else if (!strncmp(ptr,"ipv6",4)) {
+            /* nothing, inet_connect() and inet_listen() parse this one */;
         } else {
             printf("Unknown option: %s\n", ptr);
             goto fail;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-09 20:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-09 20:09 [Qemu-devel] [6584] qemu_chr_open_tcp: allow ipv4 and ipv6 options Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).