MAC address:pad missing left Zeros
<p>For example i have a MAC address that has a value of "0:22:3f:a:5d:16", how do i convert this to a human readable format like "00:22:3f:0a:5d:16"?
My mac Address has missing leading zeros because i use</p>

<pre><code>string asd = ether_ntoa ((struct ether_addr *)p-&gt;add2);//p-&gt;add2 is a unsigned char[6]
</code></pre>

<p>ether_nota removes the leading zeros,i don't know if there are other ways to store a proper MAC addresses as a string. </p>
