Révision 712460ec
Ajouté par Ermal il y a presque 10 ans
builder_scripts/conf/patchlist/stable/10/patches | ||
---|---|---|
65 | 65 |
~~openssl_head.tgz~ |
66 | 66 |
-p1~~pbi_rtld-elf.patch~ |
67 | 67 |
-p1~~pf_table_paddr_clean.diff~ |
68 |
-p1~~pf_ifacebound_state.diff~ |
patches/stable/10/pf_ifacebound_state.diff | ||
---|---|---|
1 |
diff --git a/sys/netpfil/pf/pf.c b/sys/netpfil/pf/pf.c |
|
2 |
index 9f0ebac..2882e95 100644 |
|
3 |
--- a/sys/netpfil/pf/pf.c |
|
4 |
+++ b/sys/netpfil/pf/pf.c |
|
5 |
@@ -345,8 +345,7 @@ do { \ |
|
6 |
return (PF_PASS); \ |
|
7 |
} while (0) |
|
8 |
|
|
9 |
-#define BOUND_IFACE(r, k) \ |
|
10 |
- ((r)->rule_flag & PFRULE_IFBOUND) ? (k) : V_pfi_all |
|
11 |
+#define BOUND_IFACE(r, k) k |
|
12 |
|
|
13 |
#define STATE_INC_COUNTERS(s) \ |
|
14 |
do { \ |
Formats disponibles : Unified diff
Add patch that binds the state to the interface they are created to show properly on states. This is needed since with if-bound states some assumptions done need to be fixed