tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Another update for axe(4)

> OK, I changed it and it still works.  (BTW, I need to make it 
> __UNCONST() for passing it as arg to axe_cmd() routine.)

IMO, __UNCONST() could be problematic (actually -current kue(4)
panics due to abuse of __UNCONST()), so it's better to allocate
a tmpbuf[ETHER_ADDR_LEN] in stack and copy the const data into it
for generic APIs.
Izumi Tsutsui

Home | Main Index | Thread Index | Old Index