SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
net/sshuttle/patches/patch-sshuttle_methods_pf_py
Normal file
20
net/sshuttle/patches/patch-sshuttle_methods_pf_py
Normal file
|
@ -0,0 +1,20 @@
|
|||
#include <stdio.h>
|
||||
#include <net/if.h>
|
||||
#include <net/pfvar.h>
|
||||
|
||||
int main (void) {
|
||||
printf("%zu\n", sizeof(struct pfioc_rule));
|
||||
}
|
||||
|
||||
Index: sshuttle/methods/pf.py
|
||||
--- sshuttle/methods/pf.py.orig
|
||||
+++ sshuttle/methods/pf.py
|
||||
@@ -266,7 +266,7 @@ class OpenBsd(Generic):
|
||||
("proto_variant", c_uint8),
|
||||
("direction", c_uint8)]
|
||||
|
||||
- self.pfioc_rule = c_char * 3424
|
||||
+ self.pfioc_rule = c_char * 3408
|
||||
self.pfioc_natlook = pfioc_natlook
|
||||
super(OpenBsd, self).__init__()
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue