<p>To test:</p>
<p>1) Start the daemon on your local machine (or flash a node and run quickstart)<br>
2) $ commotion localipset<br>
3) commotiond should return an ip address in the 169.254.0.0 range which will be sent to stdout (no new line char, unfortunately)</p>
<p>Serves 4-6.</p>
<hr>
<h4>You can merge this Pull Request by running</h4>
<pre> git pull https://github.com/opentechinstitute/commotiond issue69</pre>
<p>Or view, comment on, or merge it at:</p>
<p> <a href='https://github.com/opentechinstitute/commotiond/pull/57'>https://github.com/opentechinstitute/commotiond/pull/57</a></p>
<h4>Commit Summary</h4>
<ul>
<li>added cmd_generate_local_ip</li>
<li>added set local ip to standard commands</li>
<li>removed redundant library include</li>
<li>added cmd_generate_local_ip to command.h</li>
<li>fixed typo</li>
<li>standardized command usage for localipset</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/opentechinstitute/commotiond/pull/57/files#diff-0">src/command.c</a>
(21)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/opentechinstitute/commotiond/pull/57/files#diff-1">src/command.h</a>
(5)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/opentechinstitute/commotiond/pull/57/files#diff-2">src/daemon.c</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/opentechinstitute/commotiond/pull/57/files#diff-3">src/iface.c</a>
(1)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/opentechinstitute/commotiond/pull/57.patch'>https://github.com/opentechinstitute/commotiond/pull/57.patch</a></li>
<li><a href='https://github.com/opentechinstitute/commotiond/pull/57.diff'>https://github.com/opentechinstitute/commotiond/pull/57.diff</a></li>
</ul>