diff options
author | Jordan Augé <jordan.auge+fdio@cisco.com> | 2019-12-10 23:57:37 +0100 |
---|---|---|
committer | Jordan Augé <jordan.auge+fdio@cisco.com> | 2019-12-10 23:59:48 +0100 |
commit | 2f8f60f943b71e1caab14856c6a03c81e5ba6c9c (patch) | |
tree | bfe69da25a7b8b27f67d4206e5ba17a2fb4a1497 /ctrl/facemgr/src/interfaces/hicn_light | |
parent | a40a23b0d7fc5ebecbb97a5213646add5eeadc5b (diff) |
[HICN-438] facemgr should allow face creation with physical interface down
Change-Id: I6487fbec0607464a625daa01455ddac8fdd75ee2
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/facemgr/src/interfaces/hicn_light')
-rw-r--r-- | ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c b/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c index 71243aea1..b4e1f0695 100644 --- a/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c +++ b/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c @@ -108,6 +108,10 @@ int hl_process_state(interface_t * interface) case HL_STATE_ROUTES_SENT: case HL_STATE_FACES_SENT: + INFO("[hl_process_state] Out of sync... resetting state"); + data->state = HL_STATE_IDLE; + break; + case HL_STATE_UNDEFINED: case HL_STATE_N: ERROR("[hl_process_state] Unexpected state"); |