Browse code

Merge 67b5512a34accc6c47f7022c42784ad7d59abfc3 into 0afc10d9b1b3f65b92d649d530b6363476b3d03b

mtryfoss authored on 29/11/2021 10:52:58 • GitHub committed on 29/11/2021 10:52:58
Showing 1 changed files
... ...
@@ -3529,6 +3529,11 @@ static void ds_options_callback(
3529 3529
 		}
3530 3530
 	}
3531 3531
 
3532
+	/* Check if in the meantime someone disabled probing of the target through RPC, MI or reload */
3533
+	if(ds_probing_mode == DS_PROBE_ONLYFLAGGED && !(ds_get_state(group, &uri) & DS_PROBING_DST)) {
3534
+		return;
3535
+	}
3536
+
3532 3537
 	/* ps->code contains the result-code of the request.
3533 3538
 	 *
3534 3539
 	 * We accept both a "200 OK" or the configured reply as a valid response */