[pve-devel] [PATCH] rename link to fwln && link peer to fwpr

Dietmar Maurer dietmar at proxmox.com
Wed May 14 07:22:17 CEST 2014


applied

> -----Original Message-----
> From: pve-devel [mailto:pve-devel-bounces at pve.proxmox.com] On Behalf
> Of Alexandre Derumier
> Sent: Mittwoch, 14. Mai 2014 05:26
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] rename link to fwln && link peer to fwpr
> 
> also plug fwpr to vmbr, and fwln to fwbr
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  data/PVE/Network.pm |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index
> dffa764..47933a9 100644
> --- a/data/PVE/Network.pm
> +++ b/data/PVE/Network.pm
> @@ -87,9 +87,9 @@ my $compute_fwbr_names = sub {
>      my ($vmid, $devid) = @_;
> 
>      my $fwbr = "fwbr${vmid}i${devid}";
> -    my $vethfw = "link${vmid}i${devid}";
> -    my $vethfwpeer = "link${vmid}p${devid}";
> -    my $ovsintport = "link${vmid}o${devid}";
> +    my $vethfw = "fwln${vmid}i${devid}";
> +    my $vethfwpeer = "fwpr${vmid}p${devid}";
> +    my $ovsintport = "fwln${vmid}o${devid}";
> 
>      return ($fwbr, $vethfw, $vethfwpeer, $ovsintport);  }; @@ -162,8 +162,8
> @@ my $create_firewall_bridge_linux = sub {
>      &$activate_interface($vethfw);
>      &$activate_interface($vethfwpeer);
> 
> -    &$bridge_add_interface($bridge, $vethfw);
> -    &$bridge_add_interface($fwbr, $vethfwpeer);
> +    &$bridge_add_interface($fwbr, $vethfw);
> +    &$bridge_add_interface($bridge, $vethfwpeer);
> 
>      return $fwbr;
>  };
> --
> 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