[ovs-git] [openvswitch/ovs] aff6bb: bfd: Fix signs in ovs-appctl bfd/show Detect Time, ...

GitHub noreply at github.com
Thu May 18 23:10:22 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: aff6bbb82ae93b94eb1576714273ff699e842244
      https://github.com/openvswitch/ovs/commit/aff6bbb82ae93b94eb1576714273ff699e842244
  Author: Gábor Szűcs <gabor.sz.cs at ericsson.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M lib/bfd.c

  Log Message:
  -----------
  bfd: Fix signs in ovs-appctl bfd/show Detect Time, Next Tx Time, Last TX Time

ovs-appctl bfd/show command printout
shows negative time lag from now for upcoming events:
Detect Time: now -2632ms
Next TX Time: now -800ms
and positive time lag from now for past event:
Last TX Time: now +150ms

The fix negates the signs.

Signed-off-by: Gábor Szűcs <gabor.sz.cs at ericsson.com>
Co-authored-by: Csaba Ihllye <csaba.ihllye at ericsson.com>
Signed-off-by: Csaba Ihllye <csaba.ihllye at ericsson.com>
Signed-off-by: Andy Zhou <azhou at ovn.org>




More information about the git mailing list