On 03/07/13 17:41, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> The virNetDevSetupControlFull function was protected by a
Part of the sentence missing?
Update the conditionals around all callers to do stricter checks to ensure we always build Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx> --- src/util/virnetdevbridge.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/util/virnetdevbridge.c b/src/util/virnetdevbridge.c index 3c00be9..9d46cc4 100644 --- a/src/util/virnetdevbridge.c +++ b/src/util/virnetdevbridge.c @@ -46,7 +46,7 @@ #define VIR_FROM_THIS VIR_FROM_NONE SIOCBRADDBR -#ifdef SIOCBRADDBR +#if defined(HAVE_STRUCT_IFREQ) && defined(__linux__)
Doesn't follow the pattern established in the rest of the patch: s/__linux__/SIOCBRADDBR/
static int virNetDevSetupControlFull(const char *ifname, struct ifreq *ifr, int domain,
ACK with the change and commit message fixed. Peter -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list