summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2021-08-11 17:04:54 +0200
committerHans Dedecker <dedeckeh@gmail.com>2021-08-15 17:34:55 +0200
commit01b4e6046f10e21809c3f380f2d33bf3fe59698d (patch)
treeaceca8a92a9e6701ccb295ecc0451160db3c404a /CMakeLists.txt
parent16667699228101fda936068e3d11c0cf19270e34 (diff)
dhcpv4: fix uninitialized hostname in some ubus eventsHEADmaster
The hostname buffer is uninitialized if the client doesn't provide DHCPV4_OPT_HOSTNAME. Use hostname from the assignment which is present if a static lease contains the hostname or if the client provides one, and the hostname is valid. It's also used in the ubus ipv4leases method. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions