From 82ab48d41bfef30ab51b407b48dfcda9ebc5f7e7 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Sun, 5 Jan 2020 22:25:22 +0000 Subject: Fix some situations where the remote IP of a connecting/disconnecting client is wrong in the debug log and NOTICEs. --- TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 2f7e060..8d8d80c 100644 --- a/TODO +++ b/TODO @@ -25,4 +25,4 @@ Can memory usage be reduced further? (e.g. better channel struct management) Ability to load new certificate whilst running. -Disconnecting IP address announced is not always correct. +arrindex() shouldn't return 0 on failure as 0 is a valid index. Instead return -1 and change callers to check this. -- cgit v1.2.3