Return the type of the IP guest control public
(self)
| 401 | self.fw.append(["mangle", "", cmd]) |
| 402 | |
| 403 | def get_type(self): |
| 404 | """ Return the type of the IP |
| 405 | guest |
| 406 | control |
| 407 | public |
| 408 | """ |
| 409 | if "nw_type" in self.address: |
| 410 | return self.address['nw_type'] |
| 411 | return "unknown" |
| 412 | |
| 413 | def get_ip_address(self): |
| 414 | """ |
no outgoing calls
no test coverage detected