All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit a31f1a5b authored by Robert Ricci's avatar Robert Ricci

Minor comment fix

parent efdf34a0
......@@ -948,10 +948,10 @@ sub createVlan($$;$$$) {
}
#
# Put the given ports in the given VLAN. The VLAN is given as a cisco-specific
# VLAN number
# Either add or remove the given ports from the given VLAN. The VLAN is given
# as a cisco-specific VLAN number
#
# usage: setPortVlan($self, $vlan_number, @ports)
# usage: opPortVlan($self, $remove, $vlan_number, @ports)
# returns 0 on sucess.
# returns the number of failed ports on failure.
#
......@@ -1101,6 +1101,14 @@ sub opPortVlan($$$@) {
return $errors;
}
#
# Put the given ports in the given VLAN. The VLAN is given as a cisco-specific
# VLAN number
#
# usage: setPortVlan($self, $vlan_number, @ports)
# returns 0 on sucess.
# returns the number of failed ports on failure.
#
sub setPortVlan($$@) {
my ($self, $vlan_number, @ports) = @_;
return opPortVlan($self, 0, $vlan_number, @ports);
......
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