(ips)
| 277 | |
| 278 | |
| 279 | def unique_sort_ipv4(ips): |
| 280 | try: |
| 281 | ips = sorted(list(set(ips)),key=socket.inet_aton) |
| 282 | except: |
| 283 | ips = sorted(list(set(ips))) |
| 284 | return ips |
| 285 | |
| 286 | |
| 287 | def add_prefix_suffix(text,chars,cmd): |
no outgoing calls
no test coverage detected