mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-02-26 23:32:23 +01:00
Unbreak OpenBSD runtime.
sizeof(struct pfioc_rule) changed in recent OpenBSD releases. This fixes the ioctl call to DIOCCHANGERULE.
This commit is contained in:
parent
fdcc840b7b
commit
9c3107bed7
@ -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…
Reference in New Issue
Block a user