mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-03 04:50:11 +00:00
refactor main.go
This commit is contained in:
parent
aa9c47271a
commit
07a83aab5c
@ -13,6 +13,7 @@ func main() {
|
||||
src := flag.String("src", "127.0.0.1:8080", "source-ip:source-port")
|
||||
dns := flag.String("dns", "8.8.8.8", "DNS server")
|
||||
debug := flag.Bool("debug", false, "true | false")
|
||||
|
||||
flag.Parse()
|
||||
|
||||
err := config.InitConfig(*src, *dns, *debug)
|
||||
|
Loading…
Reference in New Issue
Block a user