commit | 2892e6ae92fc46e34351d354f0ee101f5f5e6888 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Tue Nov 27 15:09:06 2001 +0000 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Nov 27 15:09:06 2001 +0000 |
tree | 322164ccaff4a700cb5177942b02e83aa730138a | |
parent | b25f99e2e6d1f1bb66010787c8f0583f4e8cd6d1 [diff] [blame] |
no warning for . in interface names (vlan)
diff --git a/iptables.c b/iptables.c index 35adc2b..07de896 100644 --- a/iptables.c +++ b/iptables.c
@@ -751,7 +751,9 @@ memset(mask, 0xFF, vialen + 1); memset(mask + vialen + 1, 0, IFNAMSIZ - vialen - 1); for (i = 0; vianame[i]; i++) { - if (!isalnum(vianame[i]) && vianame[i] != '_') { + if (!isalnum(vianame[i]) + && vianame[i] != '_' + && vianame[i] != '.') { printf("Warning: wierd character in interface" " `%s' (No aliases, :, ! or *).\n", vianame);