From 570c6bf586e26310758c1f35768d0ec0e2758e50 Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Fri, 30 Dec 2022 10:18:18 +0800 Subject: [PATCH] disable sspoof for now. --- python/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/config.py b/python/config.py index 1b3c4f5761..ba9ad3d420 100644 --- a/python/config.py +++ b/python/config.py @@ -20,10 +20,10 @@ atl_enabled = True sspoof_enabled = False -if os.path.exists('/data/params/d/dp_sspoof'): - with open('/data/params/d/dp_sspoof') as f: - if (int(f.read().strip())) != 0: - sspoof_enabled = True +# if os.path.exists('/data/params/d/dp_sspoof'): +# with open('/data/params/d/dp_sspoof') as f: +# if (int(f.read().strip())) != 0: +# sspoof_enabled = True if atl_enabled and sspoof_enabled and os.path.exists(TESTING_SSPOOF_FW_FN): DEFAULT_FW_FN = TESTING_SSPOOF_FW_FN