Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
b1a42caa
Commit
b1a42caa
authored
Mar 26, 2019
by
Mygod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused parameters
parent
4674139d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
core/src/main/java/com/github/shadowsocks/bg/VpnService.kt
core/src/main/java/com/github/shadowsocks/bg/VpnService.kt
+0
-3
core/src/main/jni/badvpn
core/src/main/jni/badvpn
+1
-1
No files found.
core/src/main/java/com/github/shadowsocks/bg/VpnService.kt
View file @
b1a42caa
...
@@ -199,13 +199,10 @@ class VpnService : BaseVpnService(), LocalDnsService.Interface {
...
@@ -199,13 +199,10 @@ class VpnService : BaseVpnService(), LocalDnsService.Interface {
val
conn
=
builder
.
establish
()
?:
throw
NullConnectionException
()
val
conn
=
builder
.
establish
()
?:
throw
NullConnectionException
()
this
.
conn
=
conn
this
.
conn
=
conn
val
fd
=
conn
.
fd
val
cmd
=
arrayListOf
(
File
(
applicationInfo
.
nativeLibraryDir
,
Executable
.
TUN2SOCKS
).
absolutePath
,
val
cmd
=
arrayListOf
(
File
(
applicationInfo
.
nativeLibraryDir
,
Executable
.
TUN2SOCKS
).
absolutePath
,
"--netif-ipaddr"
,
PRIVATE_VLAN4_ROUTER
,
"--netif-ipaddr"
,
PRIVATE_VLAN4_ROUTER
,
"--netif-netmask"
,
"255.255.255.0"
,
"--socks-server-addr"
,
"${DataStore.listenAddress}:${DataStore.portProxy}"
,
"--socks-server-addr"
,
"${DataStore.listenAddress}:${DataStore.portProxy}"
,
"--tunfd"
,
fd
.
toString
(),
"--tunmtu"
,
VPN_MTU
.
toString
(),
"--tunmtu"
,
VPN_MTU
.
toString
(),
"--sock-path"
,
"sock_path"
,
"--sock-path"
,
"sock_path"
,
"--dnsgw"
,
"127.0.0.1:${DataStore.portLocalDns}"
,
"--dnsgw"
,
"127.0.0.1:${DataStore.portLocalDns}"
,
...
...
badvpn
@
e8660cfa
Subproject commit
b0c4d28e7406eb35a5708bf57683578ba82b11e6
Subproject commit
e8660cfae85762d3d3eaf72c47b8478f1c9f0e22
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment