From f5951db69430d5ff6192cbd851ce36feff1a595b Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 13 Feb 2012 15:51:40 +0100 Subject: [PATCH] nat: Fix typo in iptables rule --- src/nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4