Skip to content

Commit

Permalink
Revert "Revert "Reducing overall length of ctrl_interface prefix and …
Browse files Browse the repository at this point in the history
…postfix to accomodate 100 byte max_len for Unix domain sockets, which is exceeded in deeply nested directories.""

This reverts commit ec74611.
  • Loading branch information
s0lst1c3 committed Oct 7, 2023
1 parent ec74611 commit e20cfa2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions settings/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit e20cfa2

@s0lst1c3
Copy link
Owner Author

@s0lst1c3 s0lst1c3 commented on e20cfa2 Oct 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolves #201

Please sign in to comment.