From e20cfa2882f3fd7eaa4481ae56b96daadc2fca07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8lst1c3?= Date: Sat, 7 Oct 2023 06:33:20 -0600 Subject: [PATCH] Revert "Revert "Reducing overall length of ctrl_interface prefix and postfix to accomodate 100 byte max_len for Unix domain sockets, which is exceeded in deeply nested directories."" This reverts commit ec74611f485fd74e28ba536b99adc2cf310bfdbd. --- settings/paths.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/settings/paths.py b/settings/paths.py index 821834c..d9d8788 100644 --- a/settings/paths.py +++ b/settings/paths.py @@ -93,8 +93,7 @@ def __str__(self): HOSTAPD_BIN = os.path.join(HOSTAPD_DIR, 'hostapd-eaphammer') HOSTAPD_LIB = os.path.join(HOSTAPD_DIR, 'libhostapd-eaphammer.so') HOSTAPD_LOG = os.path.join(LOG_DIR, 'hostapd-eaphammer.log') -#output_file = 'hostapd-control-interface' # fuckit -output_file = OutputFile(name='ctrl-iface', length=8).string() +output_file = OutputFile(name='ctl-if', length=1).string() HOSTAPD_CTRL_INTERFACE = os.path.join(RUN_DIR, output_file) # eap_spray paths