Skip to content

Commit

Permalink
fix some defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
f18m committed Dec 4, 2024
1 parent 27e17f3 commit 5a078e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ options:
ip: 192.168.1.15
# the 'link' property accepts a basic golang template. Available variables are 'mac', 'name' and 'ip'
# e.g. "http://{{ ip }}/landing/page"
link:
link: "http://{{ .ip }}/landing-page/for/this/host"
dhcp_clients_friendly_names:
- mac: dd:ee:aa:dd:bb:ee
name: "This is a friendly name to label this host, even if it gets a dynamic IP"
# the 'link' property accepts a basic golang template. Available variables are 'mac', 'name' and 'ip'
# e.g. "http://{{ ip }}/landing/page/for/this/dynamic/host"
link:
link: "http://{{ .ip }}/landing-page/for/this/host"
dns_server:
# should this addon provide also a DNS server?
enable: true
# how many entries should be cached on the DNS server to reduce traffic to upstream DNS servers?
# the max size for this cache is 10k entries according to dnsmasq docs
cache_size: 10000
log_requests: true
log_requests: false
# DNS domain to resolve locally
dns_domain: lan
# upstream servers to which queries are forwarded when the answer is not cached locally
Expand Down
2 changes: 1 addition & 1 deletion dhcp-clients-webapp-backend/pkg/uibackend/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (b *AddonConfig) UnmarshalJSON(data []byte) error {
} `json:"dhcp_server"`

WebUI struct {
Log bool `json:"log_requests"`
Log bool `json:"log_activity"`
Port int `json:"port"`
} `json:"web_ui"`
}
Expand Down

0 comments on commit 5a078e4

Please sign in to comment.