mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-21 19:02:25 +00:00
Fix bridge generation loop counter (spotted by Jim Meyering)
This commit is contained in:
parent
f9cbf065ad
commit
aedf57db70
@ -1,3 +1,11 @@
|
||||
Mon Mar 2 12:52:16 EST 2009 Cole Robinson <crobinso@redhat.com>
|
||||
|
||||
* src/network_conf.c: Fix bridge generation loop counter.
|
||||
|
||||
Mon Mar 2 12:38:08 EST 2009 Cole Robinson <crobinso@redhat.com>
|
||||
|
||||
* src/node_device_hal.c: Recognize ejectable media in hostdev hal driver.
|
||||
|
||||
Mon Mar 2 12:37:04 EST 2009 Cole Robinson <crobinso@redhat.com>
|
||||
|
||||
* src/domain_conf.c src/domain_conf.h src/libvirt_private.syms
|
||||
|
@ -895,7 +895,7 @@ char *virNetworkAllocateBridge(virConnectPtr conn,
|
||||
}
|
||||
|
||||
id++;
|
||||
} while (id < MAX_BRIDGE_ID);
|
||||
} while (id <= MAX_BRIDGE_ID);
|
||||
|
||||
virNetworkReportError(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Bridge generation exceeded max id %d"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user