mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 21:57:44 +03:00
Bump github.com/lifenjoiner/dhcpdns from 0.0.6 to 0.0.7
Bumps [github.com/lifenjoiner/dhcpdns](https://github.com/lifenjoiner/dhcpdns) from 0.0.6 to 0.0.7. - [Release notes](https://github.com/lifenjoiner/dhcpdns/releases) - [Commits](https://github.com/lifenjoiner/dhcpdns/compare/v0.0.6...v0.0.7) --- updated-dependencies: - dependency-name: github.com/lifenjoiner/dhcpdns dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
ce8c5e285b
commit
2c256846ea
5 changed files with 12 additions and 5 deletions
2
go.mod
2
go.mod
|
@ -17,7 +17,7 @@ require (
|
||||||
github.com/jedisct1/xsecretbox v0.0.0-20241212092125-3afc4917ac41
|
github.com/jedisct1/xsecretbox v0.0.0-20241212092125-3afc4917ac41
|
||||||
github.com/k-sone/critbitgo v1.4.0
|
github.com/k-sone/critbitgo v1.4.0
|
||||||
github.com/kardianos/service v1.2.2
|
github.com/kardianos/service v1.2.2
|
||||||
github.com/lifenjoiner/dhcpdns v0.0.6
|
github.com/lifenjoiner/dhcpdns v0.0.7
|
||||||
github.com/miekg/dns v1.1.63
|
github.com/miekg/dns v1.1.63
|
||||||
github.com/opencoff/go-sieve v0.2.1
|
github.com/opencoff/go-sieve v0.2.1
|
||||||
github.com/powerman/check v1.8.0
|
github.com/powerman/check v1.8.0
|
||||||
|
|
4
go.sum
4
go.sum
|
@ -55,8 +55,8 @@ github.com/k-sone/critbitgo v1.4.0 h1:l71cTyBGeh6X5ATh6Fibgw3+rtNT80BA0uNNWgkPrb
|
||||||
github.com/k-sone/critbitgo v1.4.0/go.mod h1:7E6pyoyADnFxlUBEKcnfS49b7SUAQGMK+OAp/UQvo0s=
|
github.com/k-sone/critbitgo v1.4.0/go.mod h1:7E6pyoyADnFxlUBEKcnfS49b7SUAQGMK+OAp/UQvo0s=
|
||||||
github.com/kardianos/service v1.2.2 h1:ZvePhAHfvo0A7Mftk/tEzqEZ7Q4lgnR8sGz4xu1YX60=
|
github.com/kardianos/service v1.2.2 h1:ZvePhAHfvo0A7Mftk/tEzqEZ7Q4lgnR8sGz4xu1YX60=
|
||||||
github.com/kardianos/service v1.2.2/go.mod h1:CIMRFEJVL+0DS1a3Nx06NaMn4Dz63Ng6O7dl0qH0zVM=
|
github.com/kardianos/service v1.2.2/go.mod h1:CIMRFEJVL+0DS1a3Nx06NaMn4Dz63Ng6O7dl0qH0zVM=
|
||||||
github.com/lifenjoiner/dhcpdns v0.0.6 h1:rn4Y5RRR5sgQ6RjWenwhA7i/uHzHW9hbZpCobA4CAJs=
|
github.com/lifenjoiner/dhcpdns v0.0.7 h1:VJM2aFWHU9V7M5v4UYYNaHhIHZkbdvSI6WGGpq6/TNQ=
|
||||||
github.com/lifenjoiner/dhcpdns v0.0.6/go.mod h1:BixeaGeafYzDIuDCYIUbSOdi4m+TScpzI9cZGYgzgSk=
|
github.com/lifenjoiner/dhcpdns v0.0.7/go.mod h1:BixeaGeafYzDIuDCYIUbSOdi4m+TScpzI9cZGYgzgSk=
|
||||||
github.com/miekg/dns v1.1.63 h1:8M5aAw6OMZfFXTT7K5V0Eu5YiiL8l7nUAkyN6C9YwaY=
|
github.com/miekg/dns v1.1.63 h1:8M5aAw6OMZfFXTT7K5V0Eu5YiiL8l7nUAkyN6C9YwaY=
|
||||||
github.com/miekg/dns v1.1.63/go.mod h1:6NGHfjhpmr5lt3XPLuyfDJi5AXbNIPM9PY6H6sF1Nfs=
|
github.com/miekg/dns v1.1.63/go.mod h1:6NGHfjhpmr5lt3XPLuyfDJi5AXbNIPM9PY6H6sF1Nfs=
|
||||||
github.com/onsi/ginkgo/v2 v2.9.5 h1:+6Hr4uxzP4XIUyAkg61dWBw8lb/gc4/X5luuxN/EC+Q=
|
github.com/onsi/ginkgo/v2 v2.9.5 h1:+6Hr4uxzP4XIUyAkg61dWBw8lb/gc4/X5luuxN/EC+Q=
|
||||||
|
|
7
vendor/github.com/lifenjoiner/dhcpdns/dhcpdns.go
generated
vendored
7
vendor/github.com/lifenjoiner/dhcpdns/dhcpdns.go
generated
vendored
|
@ -241,7 +241,11 @@ func getOutboundParams(ip string) (*net.IPAddr, *net.Interface, error) {
|
||||||
var ipUnicast net.IP
|
var ipUnicast net.IP
|
||||||
var got bool
|
var got bool
|
||||||
for _, addr := range addrs {
|
for _, addr := range addrs {
|
||||||
ipi := addr.(*net.IPNet).IP
|
ipa, ok := addr.(*net.IPNet)
|
||||||
|
if !ok {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
ipi := ipa.IP
|
||||||
if ipi.Equal(ipAddr.IP) {
|
if ipi.Equal(ipAddr.IP) {
|
||||||
got = true
|
got = true
|
||||||
}
|
}
|
||||||
|
@ -398,6 +402,7 @@ type Detector struct {
|
||||||
sync.RWMutex
|
sync.RWMutex
|
||||||
got bool
|
got bool
|
||||||
// RemoteIPPort is the remote IPPort to detect within UDP.
|
// RemoteIPPort is the remote IPPort to detect within UDP.
|
||||||
|
// Won't send any data to it. `Dial` in UDP only detects if the network is available.
|
||||||
RemoteIPPort string
|
RemoteIPPort string
|
||||||
lastActiveIP string
|
lastActiveIP string
|
||||||
dns []net.IP
|
dns []net.IP
|
||||||
|
|
2
vendor/github.com/lifenjoiner/dhcpdns/readme.md
generated
vendored
2
vendor/github.com/lifenjoiner/dhcpdns/readme.md
generated
vendored
|
@ -12,6 +12,8 @@ go build
|
||||||
cli
|
cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
It will need root privileges on operating systems other than Windows.
|
||||||
|
|
||||||
## Homepage
|
## Homepage
|
||||||
|
|
||||||
https://github.com/lifenjoiner/dhcpdns
|
https://github.com/lifenjoiner/dhcpdns
|
||||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -65,7 +65,7 @@ github.com/k-sone/critbitgo
|
||||||
# github.com/kardianos/service v1.2.2
|
# github.com/kardianos/service v1.2.2
|
||||||
## explicit; go 1.12
|
## explicit; go 1.12
|
||||||
github.com/kardianos/service
|
github.com/kardianos/service
|
||||||
# github.com/lifenjoiner/dhcpdns v0.0.6
|
# github.com/lifenjoiner/dhcpdns v0.0.7
|
||||||
## explicit; go 1.20
|
## explicit; go 1.20
|
||||||
github.com/lifenjoiner/dhcpdns
|
github.com/lifenjoiner/dhcpdns
|
||||||
# github.com/miekg/dns v1.1.63
|
# github.com/miekg/dns v1.1.63
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue