Lost OpenVPN connection latest snap
-
both seem to work (called them B & C)
test HEPER's snippet and input data using long2ip32() version A baselong: [-1062674944] ip1: [192.168.222.1] ip2: [192.168.222.2] test HEPER's snippet and input data using long2ip32() version B DEBUG: array(6) { [0] => int(-1062674943) [1] => bool(true) [2] => int(4) [3] => int(-1062674943) [4] => bool(false) [5] => bool(true) } DEBUG: array(6) { [0] => int(-1062674942) [1] => bool(true) [2] => int(4) [3] => int(-1062674942) [4] => bool(false) [5] => bool(true) } baselong: [-1062674944] ip1: [192.168.222.1] ip2: [192.168.222.2] test HEPER's snippet and input data using long2ip32() version C DEBUG: array(5) { [0] => int(-1062674943) [1] => bool(true) [2] => int(0) [3] => bool(true) [4] => bool(true) } DEBUG: array(5) { [0] => int(-1062674942) [1] => bool(true) [2] => int(0) [3] => bool(true) [4] => bool(true) } baselong: [-1062674944] ip1: [192.168.222.1] ip2: [192.168.222.2]
-
PR#2317 submitted with the above fix that seems to now work properly on x32 and x64: https://github.com/pfsense/pfsense/pull/2317
Thanks for the heads up and help bugfixing it!
-
thats what we are here for ;)
-
PR has been merged. Thanks for the detective work. Seems PHP always has a new quirk up its sleeve :)
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.