config: fix dhcpv4 server being started
[project/odhcpd.git] / README
diff --git a/README b/README
index ff12e86..9119071 100644 (file)
--- a/README
+++ b/README
@@ -60,8 +60,11 @@ Section of type odhcpd
 Option         Type    Default                 Description
 legacy         bool    0                       Enable DHCPv4 if start but
                                                no dhcpv4 option set
+maindhcp       bool    0                       Use odhcpd as the main DHCPv4
+                                               service
 leasefile      string                          DHCP/v6 lease/hostfile
 leasetrigger   string                          Lease trigger script
+loglevel       integer 6                       Syslog level priority (0-7)
 
 
 Sections of type dhcp (configure DHCP / DHCPv6 / RA / NDP service)
@@ -70,7 +73,9 @@ Option                Type    Default                 Description
 interface      string  <name of UCI section>   logical OpenWrt interface
 ifname         string  <resolved from logical> physical network interface
 networkid      string  same as ifname          compat. alias for ifname
-ignore         bool    0                       ignore this interface
+ignore         bool    0                       do not serve this interface
+                                               unless overridden by ra, ndp,
+                                               dhcpv4 or dhcpv6 options
 master         bool    0                       is a master interface
                                                for relaying
 
@@ -102,6 +107,15 @@ ra_management      integer 1                       RA management mode
 ra_offlink     bool    0                       Announce prefixes off-link
 ra_preference  string  medium                  Route(r) preference
                [medium|high|low]
+ra_maxinterval integer 600                     Maximum time allowed between
+                                               sending unsolicited RA
+ra_mininterval integer 200                     Minimum time allowed between
+                                               sending unsolicited RA
+ra_lifetime    integer 1800                    Value to be placed in Router
+                                               Lifetime field of RA
+ra_useleasetime        bool    0                       Use configured leasetime as
+                                               limit for the preferred and
+                                               valid lifetime of a prefix
 ndproxy_routing        bool    1                       Learn routes from NDP
 ndproxy_slave  bool    0                       NDProxy external slave
 
@@ -113,4 +127,5 @@ mac         string                          MAC-address
 duid           string                          DUID in base16
 hostid         string                          IPv6 host identifier
 name           string                          Hostname
+leasetime      string                          DHCPv4/v6 leasetime