def getFilterStr(filters):
    """Return the given 'filters' dict as a list of
	'+<addr>' | '-<addr>' filter-strings
	"""
    if not len(filters):
        return []
    if '/*' in filters.keys():
        if filters['/*']:
            out = ['+/*']
        else:
            out = ['-/*']
    elif False in filters.values():
        out = ['+/*']
    else:
        out = ['-/*']
    for addr, bool in filters.items():
        if addr == '/*':
            continue
        if bool:
            out.append('+%s' % addr)
        else:
            out.append('-%s' % addr)
    return out
