[PATCH 6/8] fwd: Check forwarding mode in fwd_scan_ports_*() rather than caller