[PATCH v0 4/6] nat: Fix typo in iptables rule

Daniel Wagner wagi at monom.org
Mon Feb 13 06:51:40 PST 2012


From: Daniel Wagner <daniel.wagner at bmw-carit.de>

---
 src/nat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/nat.c b/src/nat.c
index ba52790..7c54541 100644
--- a/src/nat.c
+++ b/src/nat.c
@@ -102,7 +102,7 @@ static void disable_nat(struct connman_nat *nat)
 
 	/* Disable masquerading */
 	err = __connman_iptables_command("-t nat -D POSTROUTING "
-					"-s %s/%d -o %s, -j MASKQUERADE",
+					"-s %s/%d -o %s -j MASQUERADE",
 					nat->address,
 					nat->prefixlen,
 					nat->interface);
-- 
1.7.9.48.g85da4d




More information about the connman mailing list