def used_interfaces(list_of_address):
    """Returns a set of interfaces that the addresses are configured on"""

    interfaces = set()
    for address in list_of_address:
        interfaces.update([address.get_interface()])

    return interfaces