Permalink
Browse files

add vmbrX as valid interface identifier

  • Loading branch information...
1 parent 1a538c9 commit 37c1125b3a5361ee6dd8fe1dea0c09550d6497b4 @fukawi2 committed Apr 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/husk.pl
View
@@ -76,7 +76,7 @@ package main;
my $qr_ip4_cidr = qr/(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\/([0-9]{1,2}))?/o;
my $qr_ip6_address = qr/${\&make_ipv6_regex()}/io;
my $qr_ip6_cidr = qr/${\&make_ipv6_regex()}(\/[0-9]{1,3})?/io;
-my $qr_if_names = qr/((eth|wlan|ppp|bond|tun|tap|sit|(xen)?br|vif)(\d+|\+)((\.|:)\d+)?|lo|xen[A-Z]+)/io;
+my $qr_if_names = qr/((eth|wlan|ppp|bond|tun|tap|sit|(xen|vm)?br|vif)(\d+|\+)((\.|:)\d+)?|lo|xen[A-Z]+)/io;
my $qr_int_name = qr/\w+/o;
my $qr_first_word = qr/\A(\w+)/o;
my $qr_define_xzone = qr/\Adefine\s+rules\s+($qr_int_name)\s+to\s+($qr_int_name)\z/io;

0 comments on commit 37c1125

Please sign in to comment.