Getting back to this now to see if I can avoid ipfw on outgoing packets.

@@ -500,7 +507,7 @@ ipfw_hook(int onoff, int pf)
        hook_func = (pf == AF_LINK) ? ipfw_check_frame : ipfw_check_packet;
 
        (void) (onoff ? pfil_add_hook : pfil_remove_hook)
-           (hook_func, NULL, PFIL_IN | PFIL_OUT | PFIL_WAITOK, pfh);
+           (hook_func, NULL, PFIL_IN | PFIL_WAITOK, pfh);
 
        return 0;
}

Should this do the right thing? I'll report back once I test this patch.

cheers,
Hiren

Attachment: pgp_LDVxUm8hJ.pgp
Description: PGP signature

Reply via email to