udhcp: add 100 and 101 dhcp options for ipv4
authorAntoine Girard-Vallée <antoine.girard-vallee@savoirfairelinux.com>
Fri, 8 Mar 2019 14:24:42 +0000 (09:24 -0500)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 13 Apr 2019 14:27:26 +0000 (16:27 +0200)
commit0e7bd69bb58e0914f25e3543e6beb142a203738c
tree2826e4622a962780f46dd0cfb57401c0997b0f23
parent2945822f8680c10bd6930c752c10849a725b5ef7
udhcp: add 100 and 101 dhcp options for ipv4

Support for the IEEE timezone string and timezone database strings (100
and 101 options respectively) is added for ipv4, conforming to RFC-4833.

The two options are passed to hook scripts in the variables tzstr and
tzdbstr.

function                                             old     new   delta
dhcp_option_strings                                  280     294     +14
dhcp_optflags                                         76      80      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 18/0)               Total: 18 bytes

Signed-off-by: Antoine Girard-Vallée <antoine.girard-vallee@savoirfairelinux.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/common.c
networking/udhcp/common.h