Commit 99b0a979 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Temporary Cisco hack; avoid vlans 1000-1024 until I have a better fix

in place (other version of snmpit in my devel tree).
parent f51dd90c
......@@ -461,6 +461,10 @@ sub newVlanNumber($$) {
$limit = $self->{MAX_VLAN};
while (++$number < $limit) {
# Temporary cisco hack to avoid reserved vlans.
next
if ($number >= 1000 && $number <= 1024);
if (!(grep {$_ == $number} @numbers)) {
#
# Reserve this number in the table. If we can actually
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment