The FreeBSD specific patch for rsync Galera SST doesn't work.
netstat -p on FreeBSD is for protocol, not port number or program/PID. This command always results in the following error message being sent to /dev/null
Additionally, specifying both -4 and -6 at the same time doesn't work. The latter will overwrite the former. If it is specified as netstat -46, only IPv6 is used. If it is specified as netstat -64, only IPv4 is used.
One other note: there is no mention in the FreeBSD man page of netstat being able to return PID at all, which is the whole point of this call to begin with. Searching around online, everyone is suggesting using lsof to get this information, which is exactly what was happening BEFORE this broken OS specific patch was applied.