aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-01 23:31:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-01 23:31:36 +0000
commit34272dbc045940376a80d091fd12e3f256a12ce5 (patch)
tree35c30347ff83875cee1980126c5016d44e4932d8
parentdb9220ba83e8ca0cba0e1cdebc75d74ab6648fe3 (diff)
downloadupstream-34272dbc045940376a80d091fd12e3f256a12ce5.tar.gz
upstream-34272dbc045940376a80d091fd12e3f256a12ce5.tar.bz2
upstream-34272dbc045940376a80d091fd12e3f256a12ce5.zip
fix iptables warning about 'wierd' interface names (#1082)
SVN-Revision: 5962
-rw-r--r--package/iptables/patches/07-ifname_warning.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/iptables/patches/07-ifname_warning.patch b/package/iptables/patches/07-ifname_warning.patch
new file mode 100644
index 0000000000..d6ffe13847
--- /dev/null
+++ b/package/iptables/patches/07-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;