[#23] Move to NetAddr::MAC for better handling of MACs
This commit is contained in:
@@ -125,8 +125,9 @@
|
||||
<li>
|
||||
<em class="muted">MAC address format:</em><br/>
|
||||
<select id="nd_mac-format" name="mac_format">
|
||||
[% FOREACH format IN [ 'IEEE', 'Cisco', 'Microsoft', 'Sun' ] %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]>[% format %]</option>
|
||||
[% FOREACH format IN mac_formats.keys.sort %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]
|
||||
value="[% format %]">[% mac_formats.$format %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</li>
|
||||
|
||||
@@ -55,8 +55,9 @@
|
||||
<div class="clearfix">
|
||||
<em class="muted">MAC address format:</em><br/>
|
||||
<select id="nd_node-mac-format" name="mac_format">
|
||||
[% FOREACH format IN [ 'IEEE', 'Cisco', 'Microsoft', 'Sun' ] %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]>[% format %]</option>
|
||||
[% FOREACH format IN mac_formats.keys.sort %]
|
||||
<option[% ' selected="selected"' IF params.mac_format == format %]
|
||||
value="[% format %]">[% mac_formats.$format %]</option>
|
||||
[% END %]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user