Syntax error /etc/inc/gwlb.inc
-
This changeset: https://redmine.pfsense.org/projects/pfsense/repository/revisions/f4443dce5434f465a16dad16c7ea31016c01625d/diff/etc/inc/gwlb.inc introduced a syntax error in strpos(), line 197. strpos() needs two arguments, but only one is included.
I don't know enough about ipv6 addresses to know for sure, but I believe this:
if (!strpos($gateway['gateway'])) $gateway['gateway'] .= '%' . $gateway['interface'];
should be:
if (!strpos($gateway['gateway'], '%')) $gateway['gateway'] .= '%' . $gateway['interface'];
Doesn't fix my WAN_DHCP6 gateway monitoring though, it's still broken for me on a link-local gateway. Using a monitor entry does work.
-
There was a note on that linked commit internally that apparently got overlooked, I just now pushed a fix. Thanks for the report