[pve-devel] [PATCH 2/3] add firewall bridge support for openvswitch

Dietmar Maurer dietmar at proxmox.com
Wed May 7 17:21:11 CEST 2014


> +	my $bridge_hash = {};
> +
> +	eval { $bridge_hash = read_openvswitch_config() };
> +
> +	die "$bridge is not an linux bridge or openvswitch switch" if
> !$bridge_hash->{$bridge};

I wonder if we really need that code - can't we query /etc/network/interfaces for 
that instead?




More information about the pve-devel mailing list