]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix disabling of virtual port profile code on old hosts
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Nov 2011 12:29:37 +0000 (12:29 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Nov 2011 12:29:37 +0000 (12:29 +0000)
commitaad764e1075a20881d2210ebb800362fd89a8b50
tree37da5b035dffdc39577ce438f7cb4199fd5810eb
parent3fb94eeeb29d041cc968714cab57f8c72773d5de
Fix disabling of virtual port profile code on old hosts

The WITH_VIRTUALPORT macro is defined to 0 when disabled, not
left undefined. So #if must be used instead of #ifdef

* src/util/virnetdevvportprofile.c: s/#ifdef/#if/
src/util/virnetdevvportprofile.c