Support for VLAN interfaces with names like eth0.123

Patch by Nikolay A. Fetisov

--- fiaif-1.22.1.orig/src/cleanup_rules.awk
+++ fiaif-1.22.1/src/cleanup_rules.awk
@@ -36,7 +36,7 @@ function scan_rule(string,
     start = match(string, "-A[ ]");
     if (start == 1) {
 	string = substr(string, RLENGTH+1, length(string) - RLENGTH);
-	if (match(string, "[a-zA-Z0-9_+]+") != 1) {
+	if (match(string, "[a-zA-Z0-9_+.]+") != 1) {
 	    printf("Error scanning rule: '%s'\n", string);
 	    return;
 	}
--- fiaif-1.22.1.orig/src/zone_rules.awk
+++ fiaif-1.22.1/src/zone_rules.awk
@@ -45,7 +45,7 @@ BEGIN {
     PATTERN["string"]            = "[A-Za-z][a-zA-Z0-9_-]*"
     PATTERN["boolean"]           = "(0|1)"
     PATTERN["filename"]          = "([/]*[A-Za-z0-9_.-]+)+"
-    PATTERN["device"]            = "[A-Za-z]+[0-9]*[+]?"
+    PATTERN["device"]            = "[A-Za-z]+[0-9]*[+]?([.][A-Za-z0-9]+)?"
     PATTERN["proto_tcp_udp"]     = "(TCP|tcp|UDP|udp)"
     PATTERN["proto_icmp"]        = "(ICMP|icmp)"
     PATTERN["protocol"]          = "(#integer#|#string#)"
