diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-07-06 09:41:10 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-09-13 15:34:22 +0200 |
commit | 028ab85da8ef40af43aeb48129ffa32c98503336 (patch) | |
tree | e11ae9a7210e1fb0a1c37763668b5810fbfa6cb4 /src/ndp.c | |
parent | a827fcad451996f1a7043b479d8c6162174b2038 (diff) |
dhcpv4: force renew nonce authentication support
Support force renew nonce authentication support in the DHCPv4 server as
described in RFC3203 and RFC6704.
The interface uci arameter dhcpv4_forcereconf allows to supports DHCPv4
clients which support force renew without authentication.
While at it align network byte order logic for simplicity.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ndp.c')
-rw-r--r-- | src/ndp.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -341,6 +341,9 @@ static void check_addr_updates(struct interface *iface) free(iface->addr4); iface->addr4 = addr; iface->addr4_len = len; + + if (change) + dhcpv4_addr_update(iface); } // Check v6 address update |