Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
3e25eb3a
Commit
3e25eb3a
authored
Jul 06, 2012
by
Aurelio Colosimo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: msg delayreq was misspelled
Actually, no bugs in functionality, but diagnostic log was confusing.
parent
714abe20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
13 deletions
+3
-13
msg.c
proto-standard/msg.c
+1
-1
state-slave.c
proto-standard/state-slave.c
+2
-12
No files found.
proto-standard/msg.c
View file @
3e25eb3a
...
...
@@ -673,7 +673,7 @@ int msg_issue_delay_resp(struct pp_instance *ppi, TimeInternal *time)
msg_pack_delay_resp
(
ppi
,
&
ppi
->
delay_req_hdr
,
&
rcv_tstamp
);
MSG_SEND_AND_RET
(
P
DELAY_RESP
,
GEN
,
0
);
MSG_SEND_AND_RET
(
DELAY_RESP
,
GEN
,
0
);
}
/* Pack and send on event multicast ip adress a DelayResp message */
...
...
proto-standard/state-slave.c
View file @
3e25eb3a
...
...
@@ -67,18 +67,8 @@ int pp_slave(struct pp_instance *ppi, unsigned char *pkt, int plen)
e
=
(
plen
<
PP_DELAY_REQ_LENGTH
);
if
(
!
e
&&
ppi
->
is_from_self
)
{
/* Get sending timestamp from IP stack
* with So_TIMESTAMP */
ppi
->
delay_req_send_time
.
seconds
=
time
->
seconds
;
ppi
->
delay_req_send_time
.
nanoseconds
=
time
->
nanoseconds
;
/* Add latency */
add_TimeInternal
(
&
ppi
->
delay_req_send_time
,
&
ppi
->
delay_req_send_time
,
&
OPTS
(
ppi
)
->
outbound_latency
);
/* No more used: delay_req_send_time was taken
* when sending it */
}
break
;
...
...
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