]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virNetDevIPCheckIPv6ForwardingCallback fixes
authorCédric Bosdonnat <cbosdonnat@suse.com>
Tue, 28 Mar 2017 14:00:24 +0000 (16:00 +0200)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 19:10:27 +0000 (15:10 -0400)
commitc4d19a8e195ed23e8d89dff93587973be012282b
tree1badbe653c8d8b0a9d7cdbc53833f519a865fef5
parent9d9fad96a559f388948ed6b74d5d18fd40650086
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]

(cherry picked from commit b202c39adc5c512037bd38c195585a1b93fe136f)
src/util/virnetdevip.c