Skip to content
Commit a53f5258 authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

net: route: Do not dereference NULL pointer while getting next hop



Assertions should only be used to check invariants.  Things that may
change value in runtime are better left to proper checks.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 5bdb1c2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment