trunk.. same deal as changeset:6526
[openwrt/staging/florian.git] / package / iptables / patches / 007-ifname_warning.patch
1 diff -ur iptables.old/ip6tables.c iptables.dev/ip6tables.c
2 --- iptables.old/ip6tables.c 2006-01-30 09:43:12.000000000 +0100
3 +++ iptables.dev/ip6tables.c 2007-01-02 00:29:50.000000000 +0100
4 @@ -857,8 +857,9 @@
5 for (i = 0; vianame[i]; i++) {
6 if (!isalnum(vianame[i])
7 && vianame[i] != '_'
8 + && vianame[i] != '-'
9 && vianame[i] != '.') {
10 - printf("Warning: wierd character in interface"
11 + printf("Warning: weird character in interface"
12 " `%s' (No aliases, :, ! or *).\n",
13 vianame);
14 break;
15 diff -ur iptables.old/iptables.c iptables.dev/iptables.c
16 --- iptables.old/iptables.c 2006-01-30 09:43:09.000000000 +0100
17 +++ iptables.dev/iptables.c 2007-01-02 00:29:38.000000000 +0100
18 @@ -805,8 +805,9 @@
19 for (i = 0; vianame[i]; i++) {
20 if (!isalnum(vianame[i])
21 && vianame[i] != '_'
22 + && vianame[i] != '-'
23 && vianame[i] != '.') {
24 - printf("Warning: wierd character in interface"
25 + printf("Warning: weird character in interface"
26 " `%s' (No aliases, :, ! or *).\n",
27 vianame);
28 break;