Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IPoverSMS
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vizier
IPoverSMS
Commits
f8d7b393
Commit
f8d7b393
authored
8 years ago
by
Symphorien Gibol
Browse files
Options
Downloads
Patches
Plain Diff
peer adress as a param
parent
014ec5f3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tunmgr/tunmgr.py
+2
-2
2 additions, 2 deletions
tunmgr/tunmgr.py
with
2 additions
and
2 deletions
tunmgr/tunmgr.py
+
2
−
2
View file @
f8d7b393
...
...
@@ -3,7 +3,7 @@
from
pytun
import
TunTapDevice
import
selectors
import
socket
import
sys
tun
=
TunTapDevice
()
...
...
@@ -15,7 +15,7 @@ tun.mtu = 400
tun
.
up
()
PEER
=
"
10.4.25.25
"
PEER
=
sys
.
argv
[
1
]
PORT
=
1456
s
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_DGRAM
)
s
.
bind
((
''
,
PORT
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment