#211 f5 class should respect UseEnums when faking i_type
This commit is contained in:
@@ -10,6 +10,7 @@ version 3.35 ()
|
|||||||
|
|
||||||
* #180 support CiscoConfig on Nexus (sf.net:scratchfury)
|
* #180 support CiscoConfig on Nexus (sf.net:scratchfury)
|
||||||
* #50 remove interface specific part from vrf interfaces on IOS (W. Vandersmissen)
|
* #50 remove interface specific part from vrf interfaces on IOS (W. Vandersmissen)
|
||||||
|
* #211 f5 class should respect UseEnums when faking i_type
|
||||||
|
|
||||||
version 3.34 (2016-11-20)
|
version 3.34 (2016-11-20)
|
||||||
|
|
||||||
|
|||||||
@@ -165,8 +165,9 @@ sub i_type {
|
|||||||
|
|
||||||
my %i_type;
|
my %i_type;
|
||||||
foreach my $if ( keys %$idx ) {
|
foreach my $if ( keys %$idx ) {
|
||||||
|
$i_type{$if} =
|
||||||
$i_type{$if} = 'ethernetCsmacd';
|
((exists $f5->{sess}->{UseEnums} and $f5->{sess}->{UseEnums})
|
||||||
|
? 'ethernetCsmacd' : 6 );
|
||||||
}
|
}
|
||||||
return \%i_type;
|
return \%i_type;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user