9 m
= new form
.Map('olsrd2', 'OLSRD2 Daemon');
11 s
= m
.section(form
.TypedSection
, 'mesh', _('mesh configuration section'));
14 o
= s
.option(form
.Value
, "port", _("port defines the UDP port number of the RFC5444 socket."), "1-65535");
17 o
.datatype
= "range(1,65535)";
18 o
= s
.option(form
.Value
, "ip_proto", _("ip_proto defines the IP protocol number that can be used for RFC5444 communication."), "1-255");
21 o
.datatype
= "range(1,255)";
22 o
= s
.option(form
.Value
, "aggregation_interval", _("aggregation_interval defines the time the local RFC5444 implementation will keep messages to aggregate them before creating a new RFC5444 packet to forward them."), ">0.1 s");
25 o
.datatype
= "and(min(0.1), ufloat)";