revert hack for NetAddr::MAC now that upstream has fixed Microsoft and IEEE formats
This commit is contained in:
@@ -125,10 +125,9 @@
|
||||
<li>
|
||||
<em class="muted">MAC address format:</em><br/>
|
||||
<select id="nd_mac-format" name="mac_format">
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Cisco' %]>Cisco</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Microsoft' %] value="Microsoft">IEEE</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'IEEE' %] value="IEEE">Microsoft</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Sun' %]>Sun</option>
|
||||
[% FOREACH format IN [ 'IEEE', 'Cisco', 'Microsoft', 'Sun' ] %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]>[% format %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</li>
|
||||
[% FOREACH item IN vars.connected_properties %]
|
||||
|
||||
@@ -55,10 +55,9 @@
|
||||
<div class="clearfix">
|
||||
<em class="muted">MAC address format:</em><br/>
|
||||
<select id="nd_node-mac-format" name="mac_format">
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Cisco' %]>Cisco</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Microsoft' %] value="Microsoft">IEEE</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'IEEE' %] value="IEEE">Microsoft</option>
|
||||
<option[% ' selected="selected"' IF params.mac_format == 'Sun' %]>Sun</option>
|
||||
[% FOREACH format IN [ 'IEEE', 'Cisco', 'Microsoft', 'Sun' ] %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]>[% format %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
<button id="[% tab.tag %]_submit" type="submit" class="btn btn-info">
|
||||
|
||||
Reference in New Issue
Block a user