(hostmap, port)
| 68 | |
| 69 | |
| 70 | def restore_etc_hosts(hostmap, port): |
| 71 | # Only restore if we added hosts to /etc/hosts previously. |
| 72 | if len(hostmap) > 0: |
| 73 | debug2('undoing /etc/hosts changes.') |
| 74 | rewrite_etc_hosts({}, port) |
| 75 | |
| 76 | |
| 77 | def firewall_exit(signum, frame): |
no test coverage detected