aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch
diff options
context:
space:
mode:
authorJoe MacDonald <joe_macdonald@mentor.com>2014-11-10 21:51:46 -0500
committerJoe MacDonald <joe_macdonald@mentor.com>2014-12-03 16:39:50 -0500
commit2cc1bd9dd060f5002c2fde7aacba86fe230c12af (patch)
treeba89d45559013688303661d10ddb444ad9fa7cfa /meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch
parent9f925e52370571e1e38ad190f1a5c18473dd87da (diff)
downloadmeta-openembedded-2cc1bd9dd060f5002c2fde7aacba86fe230c12af.tar.gz
ufw: Uncomplicated Firewall recipe
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch')
-rw-r--r--meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch b/meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch
new file mode 100644
index 0000000000..b259fdf781
--- /dev/null
+++ b/meta-networking/recipes-connectivity/ufw/ufw/0003-fix-typeerror-on-error.patch
@@ -0,0 +1,20 @@
+Origin: r797
+Description: src/backend_iptables.py: fix misplaced parenthesis
+
+Upstream-Status: Inappropriate [ not author ]
+
+Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
+
+Index: ufw-0.33/src/backend_iptables.py
+===================================================================
+--- ufw-0.33.orig/src/backend_iptables.py 2012-09-24 08:51:13.000000000 -0500
++++ ufw-0.33/src/backend_iptables.py 2012-09-24 08:52:00.000000000 -0500
+@@ -1075,7 +1075,7 @@
+ exe = self.ip6tables
+ (rc, out) = cmd([exe] + args)
+ if rc != 0:
+- err_msg = _("Could not perform '%s'") % (args)
++ err_msg = _("Could not perform '%s'" % (args))
+ if fail_ok:
+ debug("FAILOK: " + err_msg)
+ else: