doc correction

This commit is contained in:
Eric Miller
2005-11-14 04:08:07 +00:00
parent 25f57d65a5
commit 3f2f722dab

View File

@@ -332,9 +332,9 @@ to a hash.
utilize port ifIndex. utilize port ifIndex.
Example: Example:
my %if_map = reverse %{$info->interfaces()}; my %if_map = reverse %{$c2900->interfaces()};
$info->set_i_up_admin('auto', $if_map{'FastEthernet0/1'}) $c2900->set_i_up_admin('auto', $if_map{'FastEthernet0/1'})
or die "Couldn't change port speed. ",$info->error(1); or die "Couldn't change port speed. ",$c2900->error(1);
=item $c2900->set_i_duplex_admin(duplex, ifIndex) =item $c2900->set_i_duplex_admin(duplex, ifIndex)
@@ -346,9 +346,9 @@ to a hash.
utilize port ifIndex. utilize port ifIndex.
Example: Example:
my %if_map = reverse %{$info->interfaces()}; my %if_map = reverse %{$c2900->interfaces()};
$info->set_i_up_admin('auto', $if_map{'FastEthernet0/1'}) $c2900->set_i_up_admin('auto', $if_map{'FastEthernet0/1'})
or die "Couldn't change port duplex. ",$info->error(1); or die "Couldn't change port duplex. ",$c2900->error(1);
=back =back