<div dir="ltr">Hello Rob, List,<div><br></div><div>An implementation of __printf__ is attached.</div><div>Would love to have your inputs on the same.</div><div><br></div><div>__PATCH__:</div><div><br></div><div>An issue in ifconfig while verifying the HW Address, which is assumed </div>
<div>to be of the format __C2:79:38:95:CD:AB__ but can be of form</div><div>__C2:79:38:95:D:A__. In this case the HW address is reported as bad.</div><div><div> </div><div>         if (*hw_addr == ':') hw_addr++;</div>
<div>         sscanf(hw_addr, "%2x%n", &val, &len);</div><div>-        if (len != 2) break;</div><div>+        if (!len || len > 2) break; // 1 nibble can be set e.g. C2:79:38:95:D:A </div><div>         hw_addr += len;</div>
<div>         *p++ = val;</div></div><div><br></div><div>patch for same is attached.</div><div><br></div><div>regards,</div><div>Ashwini</div><div><br></div><div>PS: A reminder again!! about the commands lost in mailing list. </div>
<div>__getty__ and __modprobe__ implementations are still hanging around in there. </div></div>