doc correction
This commit is contained in:
		| @@ -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 | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Eric Miller
					Eric Miller