dns: update cache when an item expired

This commit is contained in:
nadoo committed 2020-10-09 22:02:19 +08:00
1 parent 6d64ee4c0e
commit 6eda2b79c8
10 files changed
+80 -78

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ import (
"unsafe"
)
// https://github.com/golang/go/blob/9e6b79a5dfb2f6fe4301ced956419a0da83bd025/src/syscall/syscall_linux_386.go#L196
const GETSOCKOPT = 15 // https://golang.org/src/syscall/syscall_linux_386.go#L183
func socketcall(call, a0, a1, a2, a3, a4, a5 uintptr) error {