mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-31 18:15:25 +00:00
Thu Feb 15 16:00:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
* qemud/bridge.c: don't output bridge parameters if they are the default.
This commit is contained in:
parent
f9f7aeb4b7
commit
ca4553d0e7
@ -1,3 +1,8 @@
|
|||||||
|
Thu Feb 15 16:00:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
|
||||||
|
|
||||||
|
* qemud/bridge.c: don't output bridge parameters if they
|
||||||
|
are the default.
|
||||||
|
|
||||||
Thu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
|
Thu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
|
||||||
|
|
||||||
* qemud/conf.[ch], qemud/dispatch.c, qemud/internal.h,
|
* qemud/conf.[ch], qemud/dispatch.c, qemud/internal.h,
|
||||||
|
@ -1957,7 +1957,8 @@ char *qemudGenerateNetworkXML(struct qemud_server *server,
|
|||||||
uuid[12], uuid[13], uuid[14], uuid[15]) < 0)
|
uuid[12], uuid[13], uuid[14], uuid[15]) < 0)
|
||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
|
||||||
if (qemudBufferPrintf(&buf, " <bridge name='%s' stp='%s' delay='%d' />\n",
|
if ((def->bridge != '\0' || def->disableSTP || def->forwardDelay) &&
|
||||||
|
qemudBufferPrintf(&buf, " <bridge name='%s' stp='%s' delay='%d' />\n",
|
||||||
def->bridge,
|
def->bridge,
|
||||||
def->disableSTP ? "off" : "on",
|
def->disableSTP ? "off" : "on",
|
||||||
def->forwardDelay) < 0)
|
def->forwardDelay) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user