[libvirt] [PATCH] maint: fix comment typos

Eric Blake eblake at redhat.com
Wed Jul 28 14:06:56 UTC 2010


* src/network/bridge_driver.c
(networkAddMasqueradingIptablesRules): Fix spelling and grammar.
---

Pushing under the trivial change rule.

 src/network/bridge_driver.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 80ed57a..d6c7ae1 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -643,12 +643,12 @@ networkAddMasqueradingIptablesRules(struct network_driver *driver,
      *
      * We need to end up with 3 rules in the table in this order
      *
-     *  1. protocol=tcp with sport mapping restricton
-     *  2. protocol=udp with sport mapping restricton
+     *  1. protocol=tcp with sport mapping restriction
+     *  2. protocol=udp with sport mapping restriction
      *  3. generic any protocol
      *
      * The sport mappings are required, because default IPtables
-     * MASQUERADE is maintain port number unchanged where possible.
+     * MASQUERADE maintain port numbers unchanged where possible.
      *
      * NFS can be configured to only "trust" port numbers < 1023.
      *
-- 
1.7.2




More information about the libvir-list mailing list