

def get_relay_option(self, code):
    value = self.relay_options[code]
    if (code in (LINK_SELECTION, SERVER_IDENTIFIER_OVERRIDE)):
        value = socket.inet_ntoa(value)
    elif (code == VSS):
        value = binascii.hexlify(value[1:])
    return value

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cpnr/dhcp_relay.py DhcpPacket.get_relay_option/original