Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
maotama-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
MyCard
maotama-server
Commits
dff78e70
Commit
dff78e70
authored
Sep 30, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update log
parent
a69c1f7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
main.go
main.go
+6
-6
No files found.
main.go
View file @
dff78e70
...
...
@@ -56,9 +56,9 @@ func translateGuestToHostPackets(data *([]byte), len int, list *(map[string]*net
if
dest
!=
nil
{
copy
((
*
data
)[
17
:
],
UDPAddrToSockAddr
(
dest
))
log
.
Println
(
"Translate
d
g-to-h 0x1 packet success:"
,
src
.
String
(),
dest
.
String
())
log
.
Println
(
"Translate g-to-h 0x1 packet success:"
,
src
.
String
(),
dest
.
String
())
}
else
{
log
.
Println
(
"Translate
d
g-to-h 0x1 packet failed:"
,
src
.
String
())
log
.
Println
(
"Translate g-to-h 0x1 packet failed:"
,
src
.
String
())
}
}
...
...
@@ -76,9 +76,9 @@ func translateHostToGuestPackets(data *([]byte), len int, list *(map[string]*net
if
dest
!=
nil
{
copy
((
*
data
)[
5
+
i
*
16
:
],
UDPAddrToSockAddr
(
dest
))
log
.
Println
(
"Translate
d
h-to-g 0x8 packet success:"
,
src
.
String
(),
dest
.
String
())
log
.
Println
(
"Translate h-to-g 0x8 packet success:"
,
src
.
String
(),
dest
.
String
())
}
else
{
log
.
Println
(
"Translate
d
h-to-g 0x8 packet failed:"
,
src
.
String
())
log
.
Println
(
"Translate h-to-g 0x8 packet failed:"
,
src
.
String
())
}
}
...
...
@@ -90,9 +90,9 @@ func translateHostToGuestPackets(data *([]byte), len int, list *(map[string]*net
if
dest
!=
nil
{
copy
((
*
data
)[
1
:
],
UDPAddrToSockAddr
(
dest
))
log
.
Println
(
"Translate
d
h-to-g 0x2 packet success:"
,
src
.
String
(),
dest
.
String
())
log
.
Println
(
"Translate h-to-g 0x2 packet success:"
,
src
.
String
(),
dest
.
String
())
}
else
{
log
.
Println
(
"Translate
d
h-to-g 0x2 packet failed:"
,
src
.
String
())
log
.
Println
(
"Translate h-to-g 0x2 packet failed:"
,
src
.
String
())
}
}
}
...
...
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