]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: use a unique data type for PF array in virDomainNetDef
authorLaine Stump <laine@laine.org>
Sun, 5 Aug 2012 06:32:49 +0000 (02:32 -0400)
committerLaine Stump <laine@laine.org>
Wed, 15 Aug 2012 03:53:57 +0000 (23:53 -0400)
commit95ae4e7fa31d474ba905c13d819959e4e0428c21
tree61c6470d7ed19011d66487cb0985bc90953879fd
parentc606671aaad10a9bc87f226bc473a091e00a9629
conf: use a unique data type for PF array in virDomainNetDef

This array was originally defined using the existing
virNetworkForwardIfDef, but that struct has a UsageCount field that
isn't used in the case of PFs. This patch just copies that struct and
removes UsageCount. It ends up being a struct with a single field, but
I left it as a struct in case we need to add other fields to it in the
future.
src/conf/network_conf.c
src/conf/network_conf.h