Commit 8a502b28 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Remove MAX_VLAN/MIN_VLAN check.

parent ec62801a
......@@ -2,7 +2,7 @@
#
# EMULAB-LGPL
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# Copyright (c) 2000-2009, 2011 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -107,7 +107,11 @@ sub new($$$;$) {
$self->{MIN_VLAN} = $options->{'min_vlan'};
$self->{MAX_VLAN} = $options->{'max_vlan'};
if (($self->{MAX_VLAN} > 1024) && ($self->{MIN_VLAN} < 1000)) {
#
# Temporary removal by Leigh.
#
if (0 &&
($self->{MAX_VLAN} > 1024) && ($self->{MIN_VLAN} < 1000)) {
warn "ERROR: Some Cisco switches forbid creation of user vlans ".
"with 1000 < vlan number <= 1024\n";
return undef;
......
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