search for: mac_match

Displaying 1 result from an estimated 1 matches for "mac_match".

Did you mean: imap_match
2002 Nov 15
1
MAC Server support
...wall 584a585,595 > # Translate a arp address to IP using ARP table # > # Makes a Warning if the ARP is not in ARP table > # Example: ~01-02-03-04-05-06 # > mac_to_ip() # $1 = MAC address formated as in mac_match > { > macaddr=`echo $1 | sed ''s/~//;s/-/:/g''` > echo `arp -a | grep $macaddr |sed ''s/.*(\([0-9]*.[0-9]*.[0-9]*.[0-9]*\)).*/\1/''` > } > > > 1843a1855,1863 > ~*) > serv=`mac_to_ip $server` > if [ -z...