]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: fix incorrect VIR_NETWORK_UPDATE_COMMAND_* values
authorLaine Stump <laine@laine.org>
Wed, 19 Sep 2012 11:40:30 +0000 (07:40 -0400)
committerLaine Stump <laine@laine.org>
Wed, 19 Sep 2012 14:39:31 +0000 (10:39 -0400)
commit01ab6599944800067745caa0ee2d163b08932abe
tree300f4c65e8357ea1336f9b7995da7a06b559164e
parentb95ad92e058d3b25b9fc0a9f48cf21c57c29e0b5
network: fix incorrect VIR_NETWORK_UPDATE_COMMAND_* values

These enums originally were put into the flags for virNetworkUpdate,
and when they were moved into their own enum, the numbers weren't
appropriately changed, causing the commands to start with value 2
instead of 1. This causes problems for things like ENUM_IMPL, which
wants a string for every value in the requested range, including those
not used in the enum.
include/libvirt/libvirt.h.in