Skip to content

Commit

Permalink
Default to _setVlan SNMP using dot1qPvid
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse authored and fdurand committed Jan 15, 2025
1 parent 096afe8 commit e879c71
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/pf/Switch/Template.pm
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,12 @@ sub returnCliAuthorize {
return [$RADIUS::RLM_MODULE_OK, %radius_reply];
}

sub _setVlan {
my ( $self, $ifIndex, $newVlan, $oldVlan, $switch_locker_ref ) = @_;
my $logger = $self->logger;
return $self->_setVlanByOnlyModifyingPvid( $ifIndex, $newVlan, $oldVlan, $switch_locker_ref );
}

=head1 AUTHOR
Inverse inc. <[email protected]>
Expand Down

0 comments on commit e879c71

Please sign in to comment.