<div dir="ltr"><div style>Hi Serge,</div><div style><br></div><div style>Also do you have a git repository somewhere to pull this patch as this one won't apply cleanly on top of staging tree and I wanted to give it a try. <br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 11:51 AM, S.Çağlar Onur <span dir="ltr"><<a href="mailto:caglar@10ur.org" target="_blank">caglar@10ur.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Serge,<br><div class="gmail_extra"><br></div><div class="gmail_extra">[resending as list rejected my first mail due to its size]<br>

<br><div class="gmail_quote"><div class="im">On Wed, Apr 24, 2013 at 9:26 AM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:</div><div class="im">

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

+static void new_hwaddr(char *hwaddr)<br>
+{<br>
+       snprintf(hwaddr, 18, "00:16:3e:%02x:%02x:%02x",<br>
+                       rand() % 255, rand() % 255, rand() % 255);<br>
+}<br></blockquote><div><br></div></div><div><div style="font-family:arial,sans-serif">I believe we need to call srand here otherwise it will always give the same set of numbers with the same sequence</div></div><span class="HOEnZb"><font color="#888888">
<div><br></div></font></span></div><span class="HOEnZb"><font color="#888888">-- <br>S.Çağlar Onur <<a href="mailto:caglar@10ur.org" target="_blank">caglar@10ur.org</a>>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>S.Çağlar Onur <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>>
</div></div>