[OmniOS-discuss] Small bug in Kayak.

Andy omnios at citrus-it.net
Fri May 31 16:00:52 EDT 2013


There's a small bug in the Ether routine in Kayak. If a MAC address has
two characters the same within an octet then it calculates the wrong
address. I just happen to be building a server with a MAC address like
that.

root at lime:/usr/share/kayak# ifconfig bnx0 | grep ether
        ether d4:ae:52:c9:f1:dd
root at lime:/usr/share/kayak# . net_help.sh
root at lime:/usr/share/kayak# Ether
D4AE52C9F10D

Fix:

31c31
<     /bin/tr -s '[:lower:]' '[:upper:]' | \
---
>     /bin/tr '[:lower:]' '[:upper:]' | \

Andy

-- 
Citrus IT Limited | +44 (0)870 199 8000 | enquiries at citrus-it.co.uk
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
Registered in England and Wales | Company number 4899123



More information about the OmniOS-discuss mailing list