diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-01-01 23:31:36 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-01-01 23:31:36 +0000 |
commit | 297f5ba753dcc5e97b91e9173bc18945e25cbc12 (patch) | |
tree | 163366c07850a47630d8b80c63c0d864ba41150e /package | |
parent | 4d3acca0d82dc445631a736283901a4f11c9b47b (diff) | |
download | master-187ad058-297f5ba753dcc5e97b91e9173bc18945e25cbc12.tar.gz master-187ad058-297f5ba753dcc5e97b91e9173bc18945e25cbc12.tar.bz2 master-187ad058-297f5ba753dcc5e97b91e9173bc18945e25cbc12.zip |
fix iptables warning about 'wierd' interface names (#1082)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5962 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/iptables/patches/07-ifname_warning.patch | 28 |
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; |