diff --git a/src/sn_utils.c b/src/sn_utils.c index 0698a63..7fa5131 100644 --- a/src/sn_utils.c +++ b/src/sn_utils.c @@ -738,7 +738,7 @@ static int update_edge (n2n_sn_t *sss, } } - if(scan != NULL) { + if((scan != NULL) && (ret != update_edge_auth_fail)) { scan->last_seen = now; }