diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2016-12-15 22:37:47 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2016-12-27 21:53:55 +0100 |
commit | 4c89614ccf5d72ee0c0824e5050a8814748a32c3 (patch) | |
tree | f54a82daadd4ed089ff2b53967a58d98baf436b6 /src/odhcpd.h | |
parent | 8dc2a59dcaef51be41cf82621c0e00eac88074aa (diff) |
Limit lifetime of non-static leases in case of release and decline
In case infinite leasetime is assigned to a non static DHCPv4/v6 lease
override the infinite lifetime of the lease when either a DHCPv4/v6
decline or release is received.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h index 4b77313..0e5868c 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -86,6 +86,7 @@ enum odhcpd_mode { enum odhcpd_assignment_flags { OAF_BOUND = (1 << 0), + OAF_STATIC = (1 << 1), }; struct config { |