diag_packet_capture.php: Capture for 'pfsync' fails
On diag_packet_capture.php, attempting to capture traffic fails when the protocol is set to 'pfsync'.
This happens on 2.4.5 and 2.5.0, with an error similar to:
Warning: filesize(): stat failed for /root/packetcapture.cap in /usr/local/www/diag_packet_capture.php on line 537
It appears to fail silently on 2.4.4-p3 as well. The command it forms yields a syntax error when attempted directly at the command line.
Looks like it needs a protocol fixup similar to ospf/carp.
To me, I'm working on a fix.