summaryrefslogtreecommitdiff
path: root/package/iptables/patches/007-ifname_warning.patch
diff options
context:
space:
mode:
authorpavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-05 01:38:44 +0000
committerpavlov <pavlov@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-05 01:38:44 +0000
commit151238116d88b6bcb983175367754c905a4953f6 (patch)
treec4ccc8a7f94e359e9bc13cc9908e6a8df9d59041 /package/iptables/patches/007-ifname_warning.patch
parent40ce417a28ded37094c173f45b27b4f7c3f5c22f (diff)
trunk.. same deal as changeset:6526
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6527 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iptables/patches/007-ifname_warning.patch')
-rw-r--r--package/iptables/patches/007-ifname_warning.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/iptables/patches/007-ifname_warning.patch b/package/iptables/patches/007-ifname_warning.patch
new file mode 100644
index 0000000000..d6ffe13847
--- /dev/null
+++ b/package/iptables/patches/007-ifname_warning.patch
@@ -0,0 +1,28 @@
+diff -ur iptables.old/ip6tables.c iptables.dev/ip6tables.c
+--- iptables.old/ip6tables.c 2006-01-30 09:43:12.000000000 +0100
++++ iptables.dev/ip6tables.c 2007-01-02 00:29:50.000000000 +0100
+@@ -857,8 +857,9 @@
+ for (i = 0; vianame[i]; i++) {
+ if (!isalnum(vianame[i])
+ && vianame[i] != '_'
++ && vianame[i] != '-'
+ && vianame[i] != '.') {
+- printf("Warning: wierd character in interface"
++ printf("Warning: weird character in interface"
+ " `%s' (No aliases, :, ! or *).\n",
+ vianame);
+ break;
+diff -ur iptables.old/iptables.c iptables.dev/iptables.c
+--- iptables.old/iptables.c 2006-01-30 09:43:09.000000000 +0100
++++ iptables.dev/iptables.c 2007-01-02 00:29:38.000000000 +0100
+@@ -805,8 +805,9 @@
+ for (i = 0; vianame[i]; i++) {
+ if (!isalnum(vianame[i])
+ && vianame[i] != '_'
++ && vianame[i] != '-'
+ && vianame[i] != '.') {
+- printf("Warning: wierd character in interface"
++ printf("Warning: weird character in interface"
+ " `%s' (No aliases, :, ! or *).\n",
+ vianame);
+ break;