()
| 2065 | untrusted = untrusted or cfg.get('untrusted') |
| 2066 | if not trusted or not untrusted: |
| 2067 | return {'success': False, |
| 2068 | 'error': 'trusted and untrusted ports are not set — designate them first', |
| 2069 | 'need_config': True} |
| 2070 | |
| 2071 | members = [trusted, untrusted] |
| 2072 | packets, err = _dhcp_snoop_capture(members, seconds) |
| 2073 | if err: |
| 2074 | return {'success': False, 'error': err} |
| 2075 | |
| 2076 | reasons = [] |
nothing calls this directly
no test coverage detected