Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Commit

Permalink
Update Vyatta/Interface.pm to v1.10.5
Browse files Browse the repository at this point in the history
Release v1.10.5 fixes interface verification helper to support where `vif 0` is valid interface. Although 0 is not a valid 802.1Q VLAN Id, it's used to tag traffic to look like IEEE P802.1p priority tagging. A mandatory configuration for most fiber optic WAN (FTTx) setups.

For reference: Issue and fix acknowledged by UBNT employee -- https://community.ubnt.com/t5/EdgeRouter/DHCPv6-PD-doesn-t-generate-config-for-WAN-VLANs/m-p/2344103#M207768
  • Loading branch information
bdd authored and Lochnair committed Aug 23, 2018
1 parent 88dd6aa commit 8870a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/opt/vyatta/share/perl5/Vyatta/Interface.pm
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ sub new {
my $vifpath = $net_prefix{$prefix}{vif};

# Interface name has vif, but this type doesn't support vif!
return if ( $vif && !$vifpath );
return if ( defined($vif) && !$vifpath );

# Check path if given
return if ( $#_ >= 0 && join( ' ', @_ ) ne $type );
Expand Down

0 comments on commit 8870a21

Please sign in to comment.