<p>...hem.<br>
Fix for issues 141 on luci-commotion.</p>

<p><a href="https://github.com/opentechinstitute/luci-commotion/issues/141" class="issue-link" title="better check for network fields in header.htm">opentechinstitute/luci-commotion#141</a></p>

<p>To test:<br>
1) Take an R1 node and restart networking and configuring all sorts of things until luci-commotion issue 95 appears. <a href="https://github.com/opentechinstitute/commotion-router/issues/95" class="issue-link" title="dnsmasq networking error breaks interfaces">opentechinstitute/commotion-router#95</a> This will break all the interfaces. <br>
2) scp over this modified header to replace the existing header file<br>
3) remove the luci-cach's on the node.<br>
4) refresh page </p>

<p>If the page loads then this fix works.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/luci-theme-commotion issue-141-luci-commotion</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/luci-theme-commotion/pull/17'>https://github.com/opentechinstitute/luci-theme-commotion/pull/17</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>added checks for ipv4 addresses table and address value before calling them.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/luci-theme-commotion/pull/17/files#diff-0">files/templates/header.htm</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/luci-theme-commotion/pull/17.patch'>https://github.com/opentechinstitute/luci-theme-commotion/pull/17.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/luci-theme-commotion/pull/17.diff'>https://github.com/opentechinstitute/luci-theme-commotion/pull/17.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/luci-theme-commotion/pull/17'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwNTg1MTA4OCwiZGF0YSI6eyJpZCI6MjM5NDcyNzJ9fQ==--831b304a512b130bbe21cf86ab82164355a9f24d.gif' height='1' width='1'></p>