[ovs-dev] [PATCH 1/2] reconnect: Track last-disconnected time.
Ben Pfaff
blp at nicira.com
Wed Mar 9 18:37:32 UTC 2011
Thanks, Andrew.
I think that reconnect_create() should initialize last_disconnected to
0. Otherwise, won't reconnect_get_disconnect_duration() initially
return 'now'? Presumably it should initially return 0.
This commit should also update the tests for the reconnect code to
verify that reconnect_get_disconnect_duration() returns the expected
value in each case.
Thanks,
Ben.
More information about the dev
mailing list