2 LuCI - Lua Configuration Interface
4 (c) 2009 Daniel Dickinson
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
15 m = Map("mactodevinfo", luci.i18n.translate("MAC Device Info Overrides"), translate("Override the information returned by the MAC to Device Info Script (mac-to-devinfo) for a specified range of MAC Addresses"))
17 s = m:section(TypedSection, "mactodevinfo", translate("MAC Device Override"), translate("MAC range and information used to override system and IEEE databases"))
21 v = s:option(Value, "name", translate("Name"))
23 v = s:option(Value, "maclow", translate("Beginning of MAC address range"))
25 v = s:option(Value, "machigh", translate("End of MAC address range"))
27 v = s:option(Value, "vendor", translate("Vendor"))
29 v = s:option(Value, "devtype", translate("Device Type"))
31 v = s:option(Value, "model", translate("Model"))
33 v = s:option(Value, "ouiowneroverride", translate("OUI Owner"))