Skip to content

Commit

Permalink
fix netsh command (issue #1)
Browse files Browse the repository at this point in the history
  • Loading branch information
reddec committed Jan 22, 2020
1 parent c5b6b02 commit ea0cf11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scripts_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
const Extension = ".bat"

var TincUp = template.Must(template.New("").Parse(`
netsh interface ip set dns '%INTERFACE%' static {{.Addr}} {{.MaskAsAddr}}
netsh interface ipv4 set address name="%INTERFACE%" static {{.Addr}} {{.MaskAsAddr}} store=persistent
start /B "" "{{.Bin}}" monitor
`))

Expand Down

0 comments on commit ea0cf11

Please sign in to comment.