[libvirt] [PATCH] only remove masquerade rules in NAT mode

From: Guido Günther <agx sigxcpu org>

To: libvir-list redhat com

Subject: [libvirt] [PATCH] only remove masquerade rules in NAT mode

Date: Thu, 5 Nov 2009 20:35:20 +0100

Hi,
attached patch makes sure we only remove the masquerade rules if
forwardType == VIR_NETWORK_FORWARD_NAT and not if forwardType ==
VIR_NETWORK_FORWARD_ROUTE since we don't use them there. This fixes:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549949
O.k. to apply?
-- Guido