diff options
author | Laine Stump <laine@laine.org> | 2012-09-19 18:45:58 -0400 |
---|---|---|
committer | Laine Stump <laine@laine.org> | 2012-09-19 21:43:02 -0400 |
commit | db8760ffe67cc2a4af62cf29af3985e4d20ec66e (patch) | |
tree | a499d31d9494881e41340f0dc0bc51aada90866d /src/interface | |
parent | virsh: Move daemon to misc since its not a network (diff) | |
download | libvirt-db8760ffe67cc2a4af62cf29af3985e4d20ec66e.tar.gz libvirt-db8760ffe67cc2a4af62cf29af3985e4d20ec66e.tar.bz2 libvirt-db8760ffe67cc2a4af62cf29af3985e4d20ec66e.zip |
network: fix element size / length in memmove
The memmove to move elements in the dhcp hosts array when inserting
and deleting items was mistakenly basing the length of the copy on the
size of a virNetworkDHCPHostDefPtr rather than virNetworkDHCPHostDef,
with the expected disastrous results.
The memmove to delete an entry commits two errors - along with the
size of each element being wrong, it also omits some required
parentheses.
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions