Fix potential crash if link speed is null 81/52781/1
authorXavier Simonart <xavier.simonart@intel.com>
Tue, 27 Feb 2018 22:44:51 +0000 (23:44 +0100)
committerXavier Simonart <xavier.simonart@intel.com>
Tue, 27 Feb 2018 22:44:51 +0000 (23:44 +0100)
commit26f14f6f6f11892fbed6d6e199c5d73f3d1ce70a
tree374a9ce69d691d71bfcac8c0c0d8409ec7dea872
parent167e6d113d61a4a75812d0df71843b0ab8b88784
Fix potential crash if link speed is null

Link_speed could be null when prox started with the ports down.
This was potentially causing a crash.
Another task will need to update link speed when the port come
up. Failing to do this results in less accurate latencies
(no extrapolation)

Change-Id: I597b68e30117e6edb9ccb4732c2acedd5eb8ac80
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
VNFs/DPPD-PROX/handle_gen.c
VNFs/DPPD-PROX/handle_lat.c