get_port_macs returns all port MACs
This commit is contained in:
		| @@ -21,10 +21,13 @@ subroutines. | ||||
|  | ||||
| =head1 EXPORT_OK | ||||
|  | ||||
| =head2 get_port_macs( $device ) | ||||
| =head2 get_port_macs | ||||
|  | ||||
| Returns a Hash reference of C<< { MAC => IP } >> for all interface MAC | ||||
| addresses on a device. | ||||
| addresses on all devices. | ||||
|  | ||||
| If you need to filter for a given device, simply compare the IP (hash value) | ||||
| to your device's IP. | ||||
|  | ||||
| =cut | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user