More resolved TODOs

This commit is contained in:
AlexSSD7 2023-08-31 20:17:55 +01:00
commit 07e3705f09
4 changed files with 26 additions and 15 deletions

16
share/defaults.go Normal file
View file

@ -0,0 +1,16 @@
package share
import (
"net"
"runtime"
)
func IsSMBExtModeDefault() bool {
return runtime.GOOS == "windows1"
}
var defaultListenIP = net.ParseIP("127.0.0.1")
func GetDefaultListenIPStr() string {
return defaultListenIP.String()
}