[pve-devel] [PATCH] support QinQ / vlan stacking
Stefan Priebe - Profihost AG
s.priebe at profihost.ag
Mon Mar 2 08:22:27 CET 2015
Am 02.03.2015 um 07:13 schrieb Dietmar Maurer:
> The patch from Andrew does not work for you?
The original code did not match the Network.pm at all. There were so
many changes.
I then decided to start with a minimum of changes to get it working. And
it works pretty well if it just "binds" to the X.VLAN interface.
Stefan
>> On February 14, 2015 at 9:41 AM Stefan Priebe <s.priebe at profihost.ag> wrote:
>>
>>
>>
>> Signed-off-by: Stefan Priebe <s.priebe at profihost.ag>
>> ---
>> data/PVE/Network.pm | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm
>> index 00639f6..97f4033 100644
>> --- a/data/PVE/Network.pm
>> +++ b/data/PVE/Network.pm
>> @@ -323,7 +323,7 @@ sub activate_bridge_vlan {
>>
>> my @ifaces = ();
>> my $dir = "/sys/class/net/$bridge/brif";
>> - PVE::Tools::dir_glob_foreach($dir, '((eth|bond)\d+)', sub {
>> + PVE::Tools::dir_glob_foreach($dir, '((eth|bond)\d+(\.\d+)?)', sub {
>> push @ifaces, $_[0];
>> });
>>
>> --
>> 1.7.10.4
>>
>> _______________________________________________
>> pve-devel mailing list
>> pve-devel at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>>
>
More information about the pve-devel
mailing list