diff options
author | David Krause <david@cvs.openbsd.org> | 2009-04-16 04:40:20 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2009-04-16 04:40:20 +0000 |
commit | c4bfdcfea3eb82fe4452e84783f8cec99b74a436 (patch) | |
tree | 897ebdb7ee29a9ace7b6b62b96dd703a0791f830 /sys/net/pf_ioctl.c | |
parent | 1ff74c3375d0fd7c55eb9b12c57d1b83d0ce49f1 (diff) |
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@
Diffstat (limited to 'sys/net/pf_ioctl.c')
-rw-r--r-- | sys/net/pf_ioctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |