]> xenbits.xensource.com Git - libvirt.git/commit
virNetDevIPCheckIPv6ForwardingCallback fixes
authorCédric Bosdonnat <cbosdonnat@suse.com>
Tue, 28 Mar 2017 14:00:24 +0000 (16:00 +0200)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 3 Apr 2017 18:23:15 +0000 (14:23 -0400)
commitb202c39adc5c512037bd38c195585a1b93fe136f
treed70f320c8ac60ae937feccce0c8072de9cf3ee40
parentdeb38c4503597a8e0b3e74c6112ef28a15b072c8
virNetDevIPCheckIPv6ForwardingCallback fixes

Add check for more than one RTA_OIF, even though this is rather
unlikely.

Get rid of the buggy switch / break as this code won't need to
handle more attributes.

Use VIR_WARNINGS_NO_CAST_ALIGN to fix impossible to fix
util/virnetdevip.c:560:17: error: cast increases required alignment of target type [-Werror=cast-align]
src/util/virnetdevip.c