(self, anchor)
| 187 | _pf_context['loaded_by_sshuttle'] = True |
| 188 | |
| 189 | def disable(self, anchor): |
| 190 | super(FreeBsd, self).disable(anchor) |
| 191 | if _pf_context['loaded_by_sshuttle'] and \ |
| 192 | _pf_context['started_by_sshuttle'] == 0: |
| 193 | ssubprocess.call(['kldunload', 'pf'], env=get_env()) |
| 194 | # No env: No output. |
| 195 | |
| 196 | def add_anchors(self, anchor): |
| 197 | status = pfctl('-s all')[0] |