• Daniel P. Berrange's avatar
    Fix handling of domain interface list data · 5d0a855f
    Daniel P. Berrange authored
    The approach to handling the domain interface list data was broken and
    only worked by luck when there was a single interface, with a single
    address. If there were multiple interfaces or multiple addresses a
    Go exception would result.
    
    Rewrite it to use pointer arithmetic instead of trying to turn the C
    array into a go slice
    Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
    5d0a855f
Name
Last commit
Last update
vagrant Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
FAQ.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
api_test.go Loading commit data...
callbacks.go Loading commit data...
callbacks_cfuncs.go Loading commit data...
callbacks_cfuncs.h Loading commit data...
connect.go Loading commit data...
connect_cfuncs.go Loading commit data...
connect_cfuncs.h Loading commit data...
connect_compat.go Loading commit data...
connect_compat.h Loading commit data...
connect_test.go Loading commit data...
doc.go Loading commit data...
domain.go Loading commit data...
domain_compat.go Loading commit data...
domain_compat.h Loading commit data...
domain_events.go Loading commit data...
domain_events_cfuncs.go Loading commit data...
domain_events_cfuncs.h Loading commit data...
domain_events_test.go Loading commit data...
domain_snapshot.go Loading commit data...
domain_test.go Loading commit data...
error.go Loading commit data...
error_compat.h Loading commit data...
error_test.go Loading commit data...
events.go Loading commit data...
events_cfuncs.go Loading commit data...
events_cfuncs.h Loading commit data...
integration_test.go Loading commit data...
interface.go Loading commit data...
interface_test.go Loading commit data...
libvirtd.conf Loading commit data...
network.go Loading commit data...
network_compat.go Loading commit data...
network_compat.h Loading commit data...
network_events.go Loading commit data...
network_events_cfuncs.go Loading commit data...
network_events_cfuncs.h Loading commit data...
network_events_test.go Loading commit data...
network_test.go Loading commit data...
node_device.go Loading commit data...
node_device_compat.go Loading commit data...
node_device_compat.h Loading commit data...
node_device_events.go Loading commit data...
node_device_events_cfuncs.go Loading commit data...
node_device_events_cfuncs.h Loading commit data...
node_device_events_test.go Loading commit data...
nwfilter.go Loading commit data...
secret.go Loading commit data...
secret_compat.go Loading commit data...
secret_compat.h Loading commit data...
secret_events.go Loading commit data...
secret_events_cfuncs.go Loading commit data...
secret_events_cfuncs.h Loading commit data...
storage_pool.go Loading commit data...
storage_pool_compat.go Loading commit data...
storage_pool_compat.h Loading commit data...
storage_pool_events.go Loading commit data...
storage_pool_events_cfuncs.go Loading commit data...
storage_pool_events_cfuncs.h Loading commit data...
storage_pool_events_test.go Loading commit data...
storage_pool_test.go Loading commit data...
storage_volume.go Loading commit data...
storage_volume_compat.go Loading commit data...
storage_volume_compat.h Loading commit data...
storage_volume_test.go Loading commit data...
stream.go Loading commit data...
stream_cfuncs.go Loading commit data...
stream_cfuncs.h Loading commit data...
typedparams.go Loading commit data...
typedparams_test.go Loading commit data...