Fix bridge generation loop counter (spotted by Jim Meyering)

This commit is contained in:
Cole Robinson 2009-03-02 17:56:50 +00:00
parent f9cbf065ad
commit aedf57db70
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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"),