chore: make udhcpc the default DHCP client

This commit is contained in:
Siyuan 2025-11-20 15:08:52 +00:00
parent 85eb4babdf
commit eaf3a287c1
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ type MDNSListenOptions struct {
// NetworkConfig represents the complete network configuration for an interface // NetworkConfig represents the complete network configuration for an interface
type NetworkConfig struct { type NetworkConfig struct {
DHCPClient null.String `json:"dhcp_client,omitempty" one_of:"jetdhcpc,udhcpc" default:"jetdhcpc"` DHCPClient null.String `json:"dhcp_client,omitempty" one_of:"jetdhcpc,udhcpc" default:"udhcpc"`
Hostname null.String `json:"hostname,omitempty" validate_type:"hostname"` Hostname null.String `json:"hostname,omitempty" validate_type:"hostname"`
HTTPProxy null.String `json:"http_proxy,omitempty" validate_type:"proxy"` HTTPProxy null.String `json:"http_proxy,omitempty" validate_type:"proxy"`