9 m
= new form
.Map('olsrd2', 'OLSRD2 Daemon');
11 s
= m
.section(form
.TypedSection
, 'domain', _('domain configuration section'));
14 o
= s
.option(form
.Value
, "table", _("table defines the routing table for the local routing entries."), "0-254");
17 o
.datatype
= "range(0,254)";
18 o
= s
.option(form
.Value
, "protocol", _("protocol defines the protocol number for the local routing entries."), "0-254");
21 o
.datatype
= "range(0,254)";
22 o
= s
.option(form
.Value
, "distance", _("distance defines the 'metric' (hopcount) of the local routing entries."), "0-254");
25 o
.datatype
= "range(0,254)";
26 o
= s
.option(form
.Flag
, "srcip_routes", _("srcip_routes defines if the router sets the originator address as the source-ip entry into the local routing entries."), "");