[PATCH v2 0/9] odhcpd patchset

Paul Donald newtwen+github at gmail.com
Fri Apr 5 04:06:44 PDT 2024


From: Paul Donald <newtwen at gmail.com>

applies to odhcpd master HEAD d8118f6e76e5519881f9a37137c3a06b3cb60fd2

Before:
==
ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64)
    Type: Prefix information (3)
    Length: 4 (32 bytes)
    Prefix Length: 64
    Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A)
    Valid Lifetime: Infinity (4294967295)
    Preferred Lifetime: Infinity (4294967295)
    Reserved
    Prefix: fd51:1c2a:8909::
==After:==
ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64)
    Type: Prefix information (3)
    Length: 4 (32 bytes)
    Prefix Length: 64
    Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A)
    Valid Lifetime: Infinity (4294967295)
    Preferred Lifetime: 420
    Reserved
    Prefix: fd51:1c2a:8909::
==


changes:
v1: initial patch
v2: implemented feedback for commit messages


Paul Donald (9):
  various: refactor pref(erred) to preferred_lt (lifetime)
  various: refactor valid -> valid_lt (lifetime)
  various: Comment spell-fixes and clarification
  router: inherit user-assigned preferred_lifetime
  router: Limit prefix preferred_lt to valid_lt in accordance with
    RFC4861
  router: Apply updated values from RFC8319 (updates RFC4861) to RA/ND
  config: ra_management is deprecated comment
  router: DNSRecursiveDNS and DNSSearchOpt Type comments
  ndp: Comments (spelling)

 src/config.c    |   1 +
 src/dhcpv4.c    |   2 +-
 src/dhcpv6-ia.c | 140 ++++++++++++++++++++++++------------------------
 src/dhcpv6.c    |   6 +--
 src/dhcpv6.h    |   8 +--
 src/ndp.c       |   4 +-
 src/netlink.c   |  56 +++++++++----------
 src/odhcpd.c    |   8 +--
 src/odhcpd.h    |   4 +-
 src/router.c    |  72 ++++++++++++++-----------
 src/router.h    |  21 +++++++-
 11 files changed, 176 insertions(+), 146 deletions(-)

-- 
2.44.0




More information about the openwrt-devel mailing list