From c4bfdcfea3eb82fe4452e84783f8cec99b74a436 Mon Sep 17 00:00:00 2001 From: David Krause Date: Thu, 16 Apr 2009 04:40:20 +0000 Subject: Really turn fragment reassembly on by default. pfctl must handle this since the DIOCSETREASS ioctl is called on every ruleset load and was overriding the initial setting in pfattach(). Fix setting of the global no-df bitmask as well. ok henning@ --- sys/net/pf_ioctl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/net') diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c index aa459d683e8..4ab28bfff26 100644 --- a/sys/net/pf_ioctl.c +++ b/sys/net/pf_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_ioctl.c,v 1.217 2009/04/07 12:48:40 henning Exp $ */ +/* $OpenBSD: pf_ioctl.c,v 1.218 2009/04/16 04:40:19 david Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -2842,8 +2842,6 @@ pfioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p) u_int32_t *reass = (u_int32_t *)addr; pf_status.reass = *reass; - if (!(pf_status.reass & PF_REASS_ENABLED)) - pf_status.reass = 0; break; } -- cgit v1.2.3