]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit - src/if-options.c
dhcp: allow static options to be removed by not setting a value
authorRoy Marples <roy@marples.name>
Tue, 30 Aug 2022 20:32:04 +0000 (21:32 +0100)
committerRoy Marples <roy@marples.name>
Tue, 30 Aug 2022 20:35:08 +0000 (21:35 +0100)
commitb3c41d25a3c715a3d605950fd97bee9c6f99584f
tree6fb92c1e1a99b13af75c6407852e7662d9672b2d
parent27f444f85b7d859286dc1735201c139ae493b52b
dhcp: allow static options to be removed by not setting a value

This allows this config:

interface eth0
arping 1.2.3.4
static ip_address=5.6.7.8/24

profile 1.2.3.4
# Allow DHCP
static ip_address=
src/dhcpcd.conf.5.in
src/if-options.c