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
c24e0e0e
Commit
c24e0e0e
authored
Mar 14, 2017
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr-servo: trivial: set udate_time (for snmp) in p2p mode
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
9c98c978
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
wr-servo.c
proto-ext-whiterabbit/wr-servo.c
+2
-1
No files found.
proto-ext-whiterabbit/wr-servo.c
View file @
c24e0e0e
...
...
@@ -261,6 +261,7 @@ int wr_p2p_delay(struct pp_instance *ppi, struct wr_servo_state *s)
errcount
=
0
;
s
->
update_count
++
;
ppi
->
t_ops
->
get
(
ppi
,
&
s
->
update_time
);
{
/* avoid modifying stamps in place */
struct
pp_time
mtime
,
stime
;
...
...
@@ -352,7 +353,7 @@ int wr_e2e_offset(struct pp_instance *ppi,
errcount
=
0
;
s
->
update_count
++
;
ppi
->
t_ops
->
get
(
ppi
,
&
s
->
update_time
);
/* FIXME: missing in p2p */
ppi
->
t_ops
->
get
(
ppi
,
&
s
->
update_time
);
got_sync
=
0
;
...
...
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