From 2f8f60f943b71e1caab14856c6a03c81e5ba6c9c Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Tue, 10 Dec 2019 23:57:37 +0100 Subject: [HICN-438] facemgr should allow face creation with physical interface down MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6487fbec0607464a625daa01455ddac8fdd75ee2 Signed-off-by: Jordan Augé --- ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c') 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"); -- cgit 1.2.3-korg