Browse Source

Fix: compile error on Windows

Rod Hynes 8 years ago
parent
commit
c5056626ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/common/tun/tun_unsupported.go

+ 1 - 1
psiphon/common/tun/tun_unsupported.go

@@ -71,6 +71,6 @@ func routeServerInterface(_ string, _ int) error {
 	return common.ContextError(unsupportedError)
 }
 
-func dupCloseOnExec(_ int) (int, error) {
+func dupFD(_ int) (int, error) {
 	return -1, common.ContextError(unsupportedError)
 }